diff --git a/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo b/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo index af8efa8916a..2a0bef0f1aa 100644 --- a/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo +++ b/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo @@ -1451,6 +1451,10 @@ uniontype Function end if; end if; + if not InstContext.inRelaxed(context) then + checkUseBeforeAssign(fn); + end if; + // Sort the local variables based on their dependencies. fn.locals := sortLocals(fn.locals, InstNode.info(fn.node)); end typeFunctionBody; @@ -2599,6 +2603,200 @@ protected UnorderedMap.add(key, true, interface_map); end for; end getDerivative; + + function checkUseBeforeAssign + "Checks if any output or local variables in a function are used + uninitialized and prints warnings for such uses." + input Function fn; + protected + Vector unassigned; + list body; + algorithm + // Skip external and builtin functions. + if isExternal(fn) or isBuiltin(fn) then + return; + end if; + + unassigned := Vector.new(); + addUnassignedComponents(unassigned, fn.outputs); + addUnassignedComponents(unassigned, fn.locals); + + body := getBody(fn); + checkUseBeforeAssign2(unassigned, body); + end checkUseBeforeAssign; + + function addUnassignedComponents + input Vector unassigned; + input list variables; + protected + Type ty; + algorithm + for var in variables loop + ty := InstNode.getType(var); + + if Type.isScalarBuiltin(ty) and not Component.hasBinding(InstNode.component(var)) then + Vector.push(unassigned, var); + end if; + end for; + end addUnassignedComponents; + + function checkUseBeforeAssign2 + input Vector unassigned; + input list statements; + protected + SourceInfo info; + algorithm + for stmt in statements loop + info := Statement.info(stmt); + + () := match stmt + case Statement.ASSIGNMENT() + algorithm + checkUseBeforeAssignExp(unassigned, stmt.rhs, info); + markAssignedOutput(unassigned, stmt.lhs); + then + (); + + case Statement.FOR() + algorithm + if isSome(stmt.range) then + checkUseBeforeAssignExp(unassigned, Util.getOption(stmt.range), info); + end if; + + checkUseBeforeAssign2(unassigned, stmt.body); + then + (); + + case Statement.IF() + algorithm + checkUseBeforeAssignIf(unassigned, stmt.branches, info); + then + (); + + case Statement.ASSERT() + algorithm + checkUseBeforeAssignExp(unassigned, stmt.condition, info); + checkUseBeforeAssignExp(unassigned, stmt.message, info); + checkUseBeforeAssignExp(unassigned, stmt.level, info); + then + (); + + case Statement.WHILE() + algorithm + checkUseBeforeAssignExp(unassigned, stmt.condition, info); + checkUseBeforeAssign2(unassigned, stmt.body); + then + (); + + else (); + end match; + end for; + end checkUseBeforeAssign2; + + function markAssignedOutput + input Vector unassigned; + input Expression assignedExp; + protected + InstNode node; + Integer index; + algorithm + () := match assignedExp + case Expression.CREF() + algorithm + node := ComponentRef.node(ComponentRef.last(assignedExp.cref)); + (_, index) := Vector.find(unassigned, function InstNode.refEqual(node1 = node)); + + if index > 0 then + Vector.remove(unassigned, index); + end if; + then + (); + + case Expression.TUPLE() + algorithm + for e in assignedExp.elements loop + markAssignedOutput(unassigned, e); + end for; + then + (); + + else (); + end match; + end markAssignedOutput; + + function checkUseBeforeAssignIf + input Vector unassigned; + input list>> branches; + input SourceInfo info; + protected + Vector unassigned_branch; + list assigned = {}; + Integer index; + algorithm + for b in branches loop + checkUseBeforeAssignExp(unassigned, Util.tuple21(b), info); + end for; + + // Check each branch separately, then assume that any variables that were + // assigned (or incorrectly used) in at least one branch are assigned after + // the if-statement to avoid false positives. + for b in branches loop + unassigned_branch := Vector.copy(unassigned); + checkUseBeforeAssign2(unassigned_branch, Util.tuple22(b)); + + if Vector.size(unassigned) <> Vector.size(unassigned_branch) then + assigned := listAppend( + List.setDifferenceOnTrue(Vector.toList(unassigned), Vector.toList(unassigned_branch), InstNode.refEqual), + assigned); + end if; + end for; + + if not listEmpty(assigned) then + assigned := List.uniqueOnTrue(assigned, InstNode.refEqual); + + for a in assigned loop + (_, index) := Vector.find(unassigned, function InstNode.refEqual(node1 = a)); + + if index > 0 then + Vector.remove(unassigned, index); + end if; + end for; + end if; + end checkUseBeforeAssignIf; + + function checkUseBeforeAssignExp + input Vector unassigned; + input Expression exp; + input SourceInfo info; + algorithm + Expression.apply(exp, + function checkUseBeforeAssignExp_traverse(unassigned = unassigned, info = info)); + end checkUseBeforeAssignExp; + + function checkUseBeforeAssignExp_traverse + input Vector unassigned; + input Expression exp; + input SourceInfo info; + protected + Integer index; + InstNode node; + algorithm + () := match exp + case Expression.CREF() + algorithm + node := ComponentRef.node(ComponentRef.last(exp.cref)); + (_, index) := Vector.find(unassigned, function InstNode.refEqual(node1 = node)); + + if index > 0 then + Vector.remove(unassigned, index); + Error.addSourceMessage(Error.WARNING_DEF_USE, {InstNode.name(node)}, info); + end if; + then + (); + + else (); + end match; + end checkUseBeforeAssignExp_traverse; end Function; annotation(__OpenModelica_Interface="frontend"); diff --git a/testsuite/flattening/modelica/scodeinst/FunctionUnitialized1.mo b/testsuite/flattening/modelica/scodeinst/FunctionUnitialized1.mo new file mode 100644 index 00000000000..fa1b0da9f2a --- /dev/null +++ b/testsuite/flattening/modelica/scodeinst/FunctionUnitialized1.mo @@ -0,0 +1,37 @@ +// name: FunctionUnitialized1 +// keywords: +// status: correct +// cflags: -d=newInst +// +// + +model FunctionUnitialized1 + Real y = f(time); + function f + input Real x; + output Real y; + protected + Real z; + algorithm + y := z + x + y; + y := y + 1; + end f; +end FunctionUnitialized1; + +// Result: +// function FunctionUnitialized1.f +// input Real x; +// output Real y; +// protected Real z; +// algorithm +// y := z + x + y; +// y := y + 1.0; +// end FunctionUnitialized1.f; +// +// class FunctionUnitialized1 +// Real y = FunctionUnitialized1.f(time); +// end FunctionUnitialized1; +// [flattening/modelica/scodeinst/FunctionUnitialized1.mo:16:6-16:20:writable] Warning: z was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [flattening/modelica/scodeinst/FunctionUnitialized1.mo:16:6-16:20:writable] Warning: y was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// +// endResult diff --git a/testsuite/flattening/modelica/scodeinst/FunctionUnitialized2.mo b/testsuite/flattening/modelica/scodeinst/FunctionUnitialized2.mo new file mode 100644 index 00000000000..23b458ec26a --- /dev/null +++ b/testsuite/flattening/modelica/scodeinst/FunctionUnitialized2.mo @@ -0,0 +1,48 @@ +// name: FunctionUnitialized2 +// keywords: +// status: correct +// cflags: -d=newInst +// +// + +model FunctionUnitialized2 + Real y = f(time); + + function f + input Real x; + output Real y; + protected + Real z, w, u; + algorithm + if x > 1 then + z := 0; + else + u := 1; + end if; + + y := z + w + u; + end f; +end FunctionUnitialized2; + +// Result: +// function FunctionUnitialized2.f +// input Real x; +// output Real y; +// protected Real z; +// protected Real w; +// protected Real u; +// algorithm +// if x > 1.0 then +// z := 0.0; +// else +// u := 1.0; +// end if; +// y := z + w + u; +// end FunctionUnitialized2.f; +// +// class FunctionUnitialized2 +// Real y = FunctionUnitialized2.f(time); +// end FunctionUnitialized2; +// [flattening/modelica/scodeinst/FunctionUnitialized2.mo:23:5-23:19:writable] Warning: w was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// +// endResult diff --git a/testsuite/flattening/modelica/scodeinst/Makefile b/testsuite/flattening/modelica/scodeinst/Makefile index c88d8ca3d10..cc2d08e0ff2 100644 --- a/testsuite/flattening/modelica/scodeinst/Makefile +++ b/testsuite/flattening/modelica/scodeinst/Makefile @@ -662,6 +662,8 @@ FunctionSections3.mo \ FunctionSections4.mo \ FunctionSections5.mo \ FunctionStreamPrefix.mo \ +FunctionUnitialized1.mo \ +FunctionUnitialized2.mo \ IfConnect1.mo \ IfConnect2.mo \ IfConnect3.mo \ diff --git a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows.mos b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows.mos index ef017b4f18e..edc0a2d9c66 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows.mos @@ -2270,5 +2270,12 @@ getErrorString(); // [ThermoSysPro 3.2.0/WaterSteam/Junctions/Mixer2.mo:17:3-18:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [ThermoSysPro 3.2.0/WaterSteam/Junctions/Mixer2.mo:20:3-22:17:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows1.mos b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows1.mos index 96e39b6f470..14793793ff5 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows1.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows1.mos @@ -2484,5 +2484,12 @@ getErrorString(); // [ThermoSysPro 3.2.0/WaterSteam/Junctions/Mixer2.mo:20:3-22:17:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows10.mos b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows10.mos index 38e2796d169..8460d676049 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows10.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows10.mos @@ -3192,5 +3192,30 @@ getErrorString(); // stdout | info | DataReconciliation Completed! // " // end SimulationResult; -// "" +// "[openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:20:3-22:42:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:23:3-25:37:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:26:3-28:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:29:3-31:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:20:3-22:42:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:23:3-25:37:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:26:3-28:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:29:3-31:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows11.mos b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows11.mos index 576b840f4a5..752bb447ae5 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows11.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows11.mos @@ -3782,7 +3782,32 @@ getErrorString(); // simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'NewDataReconciliationSimpleTests.TSP_FourFlows11', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-reconcile -sx=./NewDataReconciliationSimpleTests/resources/NewDataReconciliationSimpleTests.TSP_FourFlows9_Inputs.csv -eps=0.0023 -lv=LOG_JAC'", // messages = "Failed to build model: NewDataReconciliationSimpleTests.TSP_FourFlows11" // end SimulationResult; -// "Error: Internal error : Condition 5-Failed: Set_S should be square: The data reconciliation problem is ill-posed +// "[openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:20:3-22:42:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:23:3-25:37:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:26:3-28:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:29:3-31:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:20:3-22:42:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:23:3-25:37:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:26:3-28:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:29:3-31:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// Error: Internal error : Condition 5-Failed: Set_S should be square: The data reconciliation problem is ill-posed // Error: pre-optimization module dataReconciliation (simulation) failed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows2.mos b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows2.mos index 98a315ed5ba..d3c4165f99b 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows2.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows2.mos @@ -3287,7 +3287,40 @@ getErrorString(); // simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'NewDataReconciliationSimpleTests.TSP_FourFlows2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-reconcile -sx=./DataReconciliationSimpleTests/resources/NewDataReconciliationSimpleTests.TSP_FourFlows2_Inputs.csv -eps=0.0023 -lv=LOG_JAC'", // messages = "Failed to build model: NewDataReconciliationSimpleTests.TSP_FourFlows2" // end SimulationResult; -// "Error: Jacobian F contains non-linear components. This indicates a singular system or internal generation errors. +// "[openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:13:3-15:24:writable] Warning: Connector Ce_eva is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:16:3-18:24:writable] Warning: Connector Ce_eco is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:19:3-20:82:writable] Warning: Connector Cs_sup is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:21:3-23:17:writable] Warning: Connector Cs_eva is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:24:3-25:82:writable] Warning: Connector Cs_sur is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:26:3-28:17:writable] Warning: Connector Cs_purg is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:29:3-31:17:writable] Warning: Connector Ce_steam is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:32:3-34:17:writable] Warning: Connector Ce_sup is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:13:3-15:24:writable] Warning: Connector Ce_eva is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:16:3-18:24:writable] Warning: Connector Ce_eco is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:19:3-20:82:writable] Warning: Connector Cs_sup is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:21:3-23:17:writable] Warning: Connector Cs_eva is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:24:3-25:82:writable] Warning: Connector Cs_sur is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:26:3-28:17:writable] Warning: Connector Cs_purg is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:29:3-31:17:writable] Warning: Connector Ce_steam is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:32:3-34:17:writable] Warning: Connector Ce_sup is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/Source.mo:17:3-18:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// Error: Jacobian F contains non-linear components. This indicates a singular system or internal generation errors. // Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. // [BackEnd/BackendDAEOptimize.mo:0:0-0:0:writable] Error: Internal error BackendDAEOptimize.removeUnusedFunctionsSymJacs: Unexpected data reconciliation jacobian structure. // " diff --git a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows3.mos b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows3.mos index ef29b0a9124..750af15900a 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows3.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows3.mos @@ -3780,5 +3780,12 @@ getErrorString(); // [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:39:3-41:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows4.mos b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows4.mos index 7804e47b28b..8cff29fa7de 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows4.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows4.mos @@ -3693,9 +3693,42 @@ getErrorString(); // stdout | info | NewDataReconciliationSimpleTests.TSP_FourFlows4 // assert | debug | Solving non-linear system 108 failed at time=1. // | | | | For more information please use -lv LOG_NLS. -// getBestJumpBuffer got simulationJumpBuffer=0000000000000000 +// getBestJumpBuffer got simulationJumpBuffer=(nil) // " // end SimulationResult; -// "Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. +// "[openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:13:3-15:24:writable] Warning: Connector Ce_eva is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:16:3-18:24:writable] Warning: Connector Ce_eco is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:19:3-20:82:writable] Warning: Connector Cs_sup is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:21:3-23:17:writable] Warning: Connector Cs_eva is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:24:3-25:82:writable] Warning: Connector Cs_sur is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:26:3-28:17:writable] Warning: Connector Cs_purg is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:29:3-31:17:writable] Warning: Connector Ce_steam is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:32:3-34:17:writable] Warning: Connector Ce_sup is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:13:3-15:24:writable] Warning: Connector Ce_eva is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:16:3-18:24:writable] Warning: Connector Ce_eco is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:19:3-20:82:writable] Warning: Connector Cs_sup is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:21:3-23:17:writable] Warning: Connector Cs_eva is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:24:3-25:82:writable] Warning: Connector Cs_sur is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:26:3-28:17:writable] Warning: Connector Cs_purg is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:29:3-31:17:writable] Warning: Connector Ce_steam is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:32:3-34:17:writable] Warning: Connector Ce_sup is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/Source.mo:17:3-18:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows5.mos b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows5.mos index 15940fadc44..8189dc623f1 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows5.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows5.mos @@ -3752,7 +3752,35 @@ getErrorString(); // simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'NewDataReconciliationSimpleTests.TSP_FourFlows5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-reconcile -sx=./NewDataReconciliationSimpleTests/resources/DataReconciliationSimpleTests.TSP_FourFlows5_Inputs.csv -eps=0.0023 -lv=LOG_JAC'", // messages = "Failed to build model: NewDataReconciliationSimpleTests.TSP_FourFlows5" // end SimulationResult; -// "Error: Jacobian F contains non-linear components. This indicates a singular system or internal generation errors. +// "[openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:13:3-15:24:writable] Warning: Connector Ce_eva is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:16:3-18:24:writable] Warning: Connector Ce_eco is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:19:3-20:82:writable] Warning: Connector Cs_sup is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:21:3-23:17:writable] Warning: Connector Cs_eva is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:24:3-25:82:writable] Warning: Connector Cs_sur is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:26:3-28:17:writable] Warning: Connector Cs_purg is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:29:3-31:17:writable] Warning: Connector Ce_steam is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:32:3-34:17:writable] Warning: Connector Ce_sup is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/Mixer2.mo:14:3-16:24:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/Mixer2.mo:17:3-18:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/Mixer2.mo:20:3-22:17:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// Error: Jacobian F contains non-linear components. This indicates a singular system or internal generation errors. // Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. // [BackEnd/BackendDAEOptimize.mo:0:0-0:0:writable] Error: Internal error BackendDAEOptimize.removeUnusedFunctionsSymJacs: Unexpected data reconciliation jacobian structure. // " diff --git a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows6.mos b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows6.mos index cd084b36ff8..7b6cafb56c6 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows6.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows6.mos @@ -3500,13 +3500,42 @@ getErrorString(); // simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'NewDataReconciliationSimpleTests.TSP_FourFlows6', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-reconcile -sx=./NewDataReconciliationSimpleTests/resources/DataReconciliationSimpleTests.TSP_FourFlows6_Inputs.csv -eps=0.0023 -lv=LOG_JAC'", // messages = "Failed to build model: NewDataReconciliationSimpleTests.TSP_FourFlows6" // end SimulationResult; -// "Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. +// "[openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:13:3-15:24:writable] Warning: Connector Ce_eva is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:16:3-18:24:writable] Warning: Connector Ce_eco is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:19:3-20:82:writable] Warning: Connector Cs_sup is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:21:3-23:17:writable] Warning: Connector Cs_eva is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:24:3-25:82:writable] Warning: Connector Cs_sur is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:26:3-28:17:writable] Warning: Connector Cs_purg is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:29:3-31:17:writable] Warning: Connector Ce_steam is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:32:3-34:17:writable] Warning: Connector Ce_sup is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:30:3-32:42:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:33:3-35:37:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:36:3-38:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:39:3-41:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. // Warning: The initial conditions are over specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\"). -// Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: 0.0 = $TMP_ThermoSysPro_Properties_WaterSteam_Common_ThermoProperties__ph96.T +// Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: 0.0 = $TMP_ThermoSysPro_Properties_WaterSteam_Common_ThermoProperties__ph97.T // Error: Internal error - Expression.expandExpression failed for 0.0 // [SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error function createNonlinearResidualEquationsComplex failed for: ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(0.0, $DER.staticDrum2.rho, $DER.staticDrum2.pro.u, $DER.staticDrum2.pro.s, $DER.staticDrum2.pro.cp, $DER.staticDrum2.pro.ddhp, $DER.staticDrum2.pro.ddph, $DER.staticDrum2.pro.duph, $DER.staticDrum2.pro.duhp, $DER.staticDrum2.pro.x) = $DER$ThermoSysPro$PProperties$PFluid$PPh(staticDrum2.P, staticDrum2.h, staticDrum2.mode, staticDrum2.fluid, 0.0, $DER.staticDrum2.h) // Error: Internal error function createNonlinearResidualEquations failed -// [SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error complex equations currently only supported on form v = functioncall(...). Equation: ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(0.0, $DER.staticDrum2.rho, $DER.staticDrum2.pro.u, $DER.staticDrum2.pro.s, $DER.staticDrum2.pro.cp, $DER.staticDrum2.pro.ddhp, $DER.staticDrum2.pro.ddph, $DER.staticDrum2.pro.duph, $DER.staticDrum2.pro.duhp, $DER.staticDrum2.pro.x) = $DER$ThermoSysPro$PProperties$PFluid$PPh(staticDrum2.P, staticDrum2.h, staticDrum2.mode, staticDrum2.fluid, 0.0, $DER.staticDrum2.h) solve for {$DER.staticDrum2.pro.s,$DER.staticDrum2.pro.cp,$DER.staticDrum2.pro.duhp,$DER.staticDrum2.pro.duph,$DER.staticDrum2.h,$DER.staticDrum2.pro.ddph,$DER.staticDrum2.pro.x,$DER.staticDrum2.pro.u,$DER.staticDrum2.rho,$DER.staticDrum2.pro.ddhp} +// [SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error complex equations currently only supported on form v = functioncall(...). Equation: ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(0.0, $DER.staticDrum2.rho, $DER.staticDrum2.pro.u, $DER.staticDrum2.pro.s, $DER.staticDrum2.pro.cp, $DER.staticDrum2.pro.ddhp, $DER.staticDrum2.pro.ddph, $DER.staticDrum2.pro.duph, $DER.staticDrum2.pro.duhp, $DER.staticDrum2.pro.x) = $DER$ThermoSysPro$PProperties$PFluid$PPh(staticDrum2.P, staticDrum2.h, staticDrum2.mode, staticDrum2.fluid, 0.0, $DER.staticDrum2.h) solve for {$DER.staticDrum2.rho,$DER.staticDrum2.pro.u,$DER.staticDrum2.pro.ddph,$DER.staticDrum2.h,$DER.staticDrum2.pro.duhp,$DER.staticDrum2.pro.ddhp,$DER.staticDrum2.pro.x,$DER.staticDrum2.pro.cp,$DER.staticDrum2.pro.s,$DER.staticDrum2.pro.duph} // [SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error createEquationsForSystems failed // [SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] // " diff --git a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows7.mos b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows7.mos index ff73f1c1406..48ab77dc666 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows7.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows7.mos @@ -3023,6 +3023,29 @@ getErrorString(); // stdout | info | DataReconciliation Completed! // " // end SimulationResult; -// "Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. +// "[openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/Splitter2.mo:14:3-16:16:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/Splitter2.mo:17:3-18:82:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/Splitter2.mo:19:3-21:17:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/Mixer2.mo:14:3-16:24:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/Mixer2.mo:17:3-18:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Junctions/Mixer2.mo:20:3-22:17:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows8.mos b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows8.mos index 6409b023d45..b23ad45229c 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows8.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows8.mos @@ -2577,5 +2577,12 @@ getErrorString(); // [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:36:3-38:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:39:3-41:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows9.mos b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows9.mos index 5c5621ed5eb..6a3c4e79d2b 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_FourFlows9.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_FourFlows9.mos @@ -3759,5 +3759,12 @@ getErrorString(); // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:26:3-28:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:29:3-31:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Pipe.mos b/testsuite/openmodelica/dataReconciliation/TSP_Pipe.mos index ce2b179f8ff..781cd02c8b5 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Pipe.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Pipe.mos @@ -1044,5 +1044,12 @@ getErrorString(); // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Pipe1.mos b/testsuite/openmodelica/dataReconciliation/TSP_Pipe1.mos index 41671d79806..e6c7c799d4b 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Pipe1.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Pipe1.mos @@ -1223,5 +1223,12 @@ getErrorString(); // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Pipe10.mos b/testsuite/openmodelica/dataReconciliation/TSP_Pipe10.mos index 7c5ac9fa595..944d9587aab 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Pipe10.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Pipe10.mos @@ -1770,5 +1770,12 @@ getErrorString(); // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:26:3-28:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:29:3-31:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Pipe11.mos b/testsuite/openmodelica/dataReconciliation/TSP_Pipe11.mos index a87aaa3c93b..944d35e9797 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Pipe11.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Pipe11.mos @@ -1224,5 +1224,12 @@ getErrorString(); // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Pipe2.mos b/testsuite/openmodelica/dataReconciliation/TSP_Pipe2.mos index bc45a6d739e..d48894f1eab 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Pipe2.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Pipe2.mos @@ -1991,5 +1991,12 @@ getErrorString(); // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:23:3-25:37:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:26:3-28:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:29:3-31:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Pipe3.mos b/testsuite/openmodelica/dataReconciliation/TSP_Pipe3.mos index e97682c85bc..b533b5cf054 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Pipe3.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Pipe3.mos @@ -2266,5 +2266,12 @@ getErrorString(); // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Pipe4.mos b/testsuite/openmodelica/dataReconciliation/TSP_Pipe4.mos index 1a0eb27f4e2..9c50ce94a0e 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Pipe4.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Pipe4.mos @@ -1365,6 +1365,13 @@ getErrorString(); // [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:33:3-35:37:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:36:3-38:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:39:3-41:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // Error: Internal error : Condition 2-Failed: All variables of interest must be involved in Set-C or Set-S: The data reconciliation problem is ill-posed // Error: Internal error : Condition 3-Failed: The number of auxiliary conditions must be strictly less than the number of variables to be reconciled. The data reconciliation problem is ill-posed // Error: pre-optimization module dataReconciliation (simulation) failed. diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Pipe5.mos b/testsuite/openmodelica/dataReconciliation/TSP_Pipe5.mos index 5e47741700b..f49e95a0886 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Pipe5.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Pipe5.mos @@ -2527,19 +2527,34 @@ getErrorString(); // simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'NewDataReconciliationSimpleTests.TSP_Pipe5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-reconcile -sx=./NewDataReconciliationSimpleTests/resources/DataReconciliationSimpleTests.TSP_Pipe5_Inputs.csv -eps=0.0023 -lv=LOG_JAC'", // messages = "Failed to build model: NewDataReconciliationSimpleTests.TSP_Pipe5" // end SimulationResult; -// "Error: Error building simulator. Build log: mingw32-make[1]: Entering directory 'C:/OPENMO~1/OPENMO~1/TESTSU~1/OPENMO~1/DATARE~1' -// clang -O0 -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/OPENMODELICAGIT/OpenModelica/build/include/omc/c\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=NewDataReconciliationSimpleTests_TSP_Pipe5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o NewDataReconciliationSimpleTests.TSP_Pipe5.o NewDataReconciliationSimpleTests.TSP_Pipe5.c -// clang -O0 -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/OPENMODELICAGIT/OpenModelica/build/include/omc/c\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=NewDataReconciliationSimpleTests_TSP_Pipe5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o NewDataReconciliationSimpleTests.TSP_Pipe5_functions.o NewDataReconciliationSimpleTests.TSP_Pipe5_functions.c -// clang -O0 -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/OPENMODELICAGIT/OpenModelica/build/include/omc/c\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=NewDataReconciliationSimpleTests_TSP_Pipe5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o NewDataReconciliationSimpleTests.TSP_Pipe5_records.o NewDataReconciliationSimpleTests.TSP_Pipe5_records.c -// clang -O0 -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/OPENMODELICAGIT/OpenModelica/build/include/omc/c\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=NewDataReconciliationSimpleTests_TSP_Pipe5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o NewDataReconciliationSimpleTests.TSP_Pipe5_01exo.o NewDataReconciliationSimpleTests.TSP_Pipe5_01exo.c -// clang -O0 -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/OPENMODELICAGIT/OpenModelica/build/include/omc/c\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=NewDataReconciliationSimpleTests_TSP_Pipe5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o NewDataReconciliationSimpleTests.TSP_Pipe5_02nls.o NewDataReconciliationSimpleTests.TSP_Pipe5_02nls.c -// clang -O0 -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/OPENMODELICAGIT/OpenModelica/build/include/omc/c\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=NewDataReconciliationSimpleTests_TSP_Pipe5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o NewDataReconciliationSimpleTests.TSP_Pipe5_03lsy.o NewDataReconciliationSimpleTests.TSP_Pipe5_03lsy.c -// NewDataReconciliationSimpleTests.TSP_Pipe5_03lsy.c:49:230: error: use of undeclared identifier '_omcQ_24DER' -// res[0] = parentJacobian->tmpVars[99] /* volumeB1.BH.$pDERF.dummyVarF JACOBIAN_DIFF_VAR */ - ((data->simulationInfo->realParameter[9] /* volumeB1.V PARAM */) * ((data->localData[0]->realVars[129] /* volumeB1.rho variable */) * (_omcQ_24DER._volumeB1._h.__omcQ_24pDERF._dummyVarF) + (parentJacobian->tmpVars[98] /* volumeB1.rho.$pDERF.dummyVarF JACOBIAN_DIFF_VAR */) * (data->localData[0]->realVars[1] /* der(volumeB1.h) STATE_DER */))); -// ^ -// 1 error generated. -// mingw32-make[1]: *** [: NewDataReconciliationSimpleTests.TSP_Pipe5_03lsy.o] Error 1 -// mingw32-make[1]: Leaving directory 'C:/OPENMO~1/OPENMO~1/TESTSU~1/OPENMO~1/DATARE~1' -// RESULT: 2 +// "[openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:30:3-32:42:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:33:3-35:37:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:36:3-38:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:39:3-41:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// Error: Error building simulator. Build log: /usr/bin/cc -O0 -fPIC -I\"/home/per/workspace/OpenModelica/build/install_cmake/bin/../include/omc/c\" -I\"/home/per/workspace/OpenModelica/build/install_cmake/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=NewDataReconciliationSimpleTests_TSP_Pipe5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o NewDataReconciliationSimpleTests.TSP_Pipe5.o NewDataReconciliationSimpleTests.TSP_Pipe5.c +// /usr/bin/cc -O0 -fPIC -I\"/home/per/workspace/OpenModelica/build/install_cmake/bin/../include/omc/c\" -I\"/home/per/workspace/OpenModelica/build/install_cmake/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=NewDataReconciliationSimpleTests_TSP_Pipe5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o NewDataReconciliationSimpleTests.TSP_Pipe5_functions.o NewDataReconciliationSimpleTests.TSP_Pipe5_functions.c +// /usr/bin/cc -O0 -fPIC -I\"/home/per/workspace/OpenModelica/build/install_cmake/bin/../include/omc/c\" -I\"/home/per/workspace/OpenModelica/build/install_cmake/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=NewDataReconciliationSimpleTests_TSP_Pipe5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o NewDataReconciliationSimpleTests.TSP_Pipe5_records.o NewDataReconciliationSimpleTests.TSP_Pipe5_records.c +// /usr/bin/cc -O0 -fPIC -I\"/home/per/workspace/OpenModelica/build/install_cmake/bin/../include/omc/c\" -I\"/home/per/workspace/OpenModelica/build/install_cmake/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=NewDataReconciliationSimpleTests_TSP_Pipe5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o NewDataReconciliationSimpleTests.TSP_Pipe5_01exo.o NewDataReconciliationSimpleTests.TSP_Pipe5_01exo.c +// /usr/bin/cc -O0 -fPIC -I\"/home/per/workspace/OpenModelica/build/install_cmake/bin/../include/omc/c\" -I\"/home/per/workspace/OpenModelica/build/install_cmake/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=NewDataReconciliationSimpleTests_TSP_Pipe5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o NewDataReconciliationSimpleTests.TSP_Pipe5_02nls.o NewDataReconciliationSimpleTests.TSP_Pipe5_02nls.c +// /usr/bin/cc -O0 -fPIC -I\"/home/per/workspace/OpenModelica/build/install_cmake/bin/../include/omc/c\" -I\"/home/per/workspace/OpenModelica/build/install_cmake/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=NewDataReconciliationSimpleTests_TSP_Pipe5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o NewDataReconciliationSimpleTests.TSP_Pipe5_03lsy.o NewDataReconciliationSimpleTests.TSP_Pipe5_03lsy.c +// NewDataReconciliationSimpleTests.TSP_Pipe5_03lsy.c: In function 'residualFunc206': +// NewDataReconciliationSimpleTests.TSP_Pipe5_03lsy.c:49:236: error: '_omcQ_24DER' undeclared (first use in this function) +// 49 | res[0] = (parentJacobian->tmpVars[99]) /* volumeB1.BH.$pDERF.dummyVarF JACOBIAN_DIFF_VAR */ - (((data->simulationInfo->realParameter[9] /* volumeB1.V PARAM */)) * (((data->localData[0]->realVars[129] /* volumeB1.rho variable */)) * (_omcQ_24DER._volumeB1._h.__omcQ_24pDERF._dummyVarF) + ((parentJacobian->tmpVars[98]) /* volumeB1.rho.$pDERF.dummyVarF JACOBIAN_DIFF_VAR */) * ((data->localData[0]->realVars[1] /* der(volumeB1.h) STATE_DER */)))); +// | ^~~~~~~~~~~ +// NewDataReconciliationSimpleTests.TSP_Pipe5_03lsy.c:49:236: note: each undeclared identifier is reported only once for each function it appears in +// make: *** [: NewDataReconciliationSimpleTests.TSP_Pipe5_03lsy.o] Error 1 // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Pipe6.mos b/testsuite/openmodelica/dataReconciliation/TSP_Pipe6.mos index 27e43ac18c5..54a4d2767ed 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Pipe6.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Pipe6.mos @@ -1988,13 +1988,30 @@ getErrorString(); // simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'NewDataReconciliationSimpleTests.TSP_Pipe6', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-reconcile -sx=./NewDataReconciliationSimpleTests/resources/DataReconciliationSimpleTests.TSP_Pipe6_Inputs.csv -eps=0.0023 -lv=LOG_JAC'", // messages = "Failed to build model: NewDataReconciliationSimpleTests.TSP_Pipe6" // end SimulationResult; -// "Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. +// "[openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:20:3-22:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:30:3-32:42:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:33:3-35:37:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:36:3-38:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/WaterSteam/Volumes/VolumeB.mo:39:3-41:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. // Warning: The initial conditions are over specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\"). -// Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: 0.0 = $TMP_ThermoSysPro_Properties_WaterSteam_Common_ThermoProperties__ph36.T +// Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: 0.0 = $TMP_ThermoSysPro_Properties_WaterSteam_Common_ThermoProperties__ph48.T // Error: Internal error - Expression.expandExpression failed for 0.0 // [SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error function createNonlinearResidualEquationsComplex failed for: ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(0.0, $DER.volumeB1.rho, $DER.volumeB1.pro.u, $DER.volumeB1.pro.s, $DER.volumeB1.pro.cp, $DER.volumeB1.pro.ddhp, $DER.volumeB1.pro.ddph, $DER.volumeB1.pro.duph, $DER.volumeB1.pro.duhp, $DER.volumeB1.pro.x) = $DER$ThermoSysPro$PProperties$PFluid$PPh(volumeB1.P, volumeB1.h, volumeB1.mode, volumeB1.fluid, 0.0, $DER.volumeB1.h) // Error: Internal error function createNonlinearResidualEquations failed -// [SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error complex equations currently only supported on form v = functioncall(...). Equation: ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(0.0, $DER.volumeB1.rho, $DER.volumeB1.pro.u, $DER.volumeB1.pro.s, $DER.volumeB1.pro.cp, $DER.volumeB1.pro.ddhp, $DER.volumeB1.pro.ddph, $DER.volumeB1.pro.duph, $DER.volumeB1.pro.duhp, $DER.volumeB1.pro.x) = $DER$ThermoSysPro$PProperties$PFluid$PPh(volumeB1.P, volumeB1.h, volumeB1.mode, volumeB1.fluid, 0.0, $DER.volumeB1.h) solve for {$DER.volumeB1.pro.s,$DER.volumeB1.h,$DER.volumeB1.pro.duph,$DER.volumeB1.pro.x,$DER.volumeB1.pro.u,$DER.volumeB1.pro.ddph,$DER.volumeB1.pro.duhp,$DER.volumeB1.pro.ddhp,$DER.volumeB1.pro.cp,$DER.volumeB1.rho} +// [SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error complex equations currently only supported on form v = functioncall(...). Equation: ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(0.0, $DER.volumeB1.rho, $DER.volumeB1.pro.u, $DER.volumeB1.pro.s, $DER.volumeB1.pro.cp, $DER.volumeB1.pro.ddhp, $DER.volumeB1.pro.ddph, $DER.volumeB1.pro.duph, $DER.volumeB1.pro.duhp, $DER.volumeB1.pro.x) = $DER$ThermoSysPro$PProperties$PFluid$PPh(volumeB1.P, volumeB1.h, volumeB1.mode, volumeB1.fluid, 0.0, $DER.volumeB1.h) solve for {$DER.volumeB1.pro.duhp,$DER.volumeB1.rho,$DER.volumeB1.pro.duph,$DER.volumeB1.pro.cp,$DER.volumeB1.pro.u,$DER.volumeB1.pro.s,$DER.volumeB1.h,$DER.volumeB1.pro.ddhp,$DER.volumeB1.pro.ddph,$DER.volumeB1.pro.x} // [SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error createEquationsForSystems failed // [SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] // " diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Pipe7.mos b/testsuite/openmodelica/dataReconciliation/TSP_Pipe7.mos index 2adcdd7e8dd..34afcaad447 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Pipe7.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Pipe7.mos @@ -1597,5 +1597,12 @@ getErrorString(); // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:26:3-28:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/VolumeATh.mo:29:3-31:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Pipe8.mos b/testsuite/openmodelica/dataReconciliation/TSP_Pipe8.mos index 18c936b3025..85ca30811ad 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Pipe8.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Pipe8.mos @@ -1448,5 +1448,12 @@ getErrorString(); // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Pipe9.mos b/testsuite/openmodelica/dataReconciliation/TSP_Pipe9.mos index 21714cf6bab..ec12e7166c6 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Pipe9.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Pipe9.mos @@ -1834,6 +1834,13 @@ getErrorString(); // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SingularPressureLoss.mo:23:3-24:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // Error: Internal error : Condition 2-Failed: All variables of interest must be involved in Set-C or Set-S: The data reconciliation problem is ill-posed // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Splitter1.mos b/testsuite/openmodelica/dataReconciliation/TSP_Splitter1.mos index d79fd89ac97..687fc4d631c 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Splitter1.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Splitter1.mos @@ -2032,5 +2032,12 @@ getErrorString(); // [ThermoSysPro 3.2.0/WaterSteam/Junctions/Mixer2.mo:20:3-22:17:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Splitter2.mos b/testsuite/openmodelica/dataReconciliation/TSP_Splitter2.mos index 5cad6e7bf61..7fe96090184 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Splitter2.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Splitter2.mos @@ -1834,5 +1834,12 @@ getErrorString(); // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Splitter3.mos b/testsuite/openmodelica/dataReconciliation/TSP_Splitter3.mos index 28c9074fcf5..dfbe5e806b2 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Splitter3.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Splitter3.mos @@ -1930,5 +1930,12 @@ getErrorString(); // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Splitter4.mos b/testsuite/openmodelica/dataReconciliation/TSP_Splitter4.mos index ad52560d604..a5defdaa7b5 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Splitter4.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Splitter4.mos @@ -1744,5 +1744,12 @@ getErrorString(); // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Splitter5.mos b/testsuite/openmodelica/dataReconciliation/TSP_Splitter5.mos index a1d3bb11ce9..384bc2a8e34 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Splitter5.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Splitter5.mos @@ -2169,5 +2169,12 @@ getErrorString(); // [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:29:3-31:17:writable] Warning: Connector Ce_steam is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:32:3-34:17:writable] Warning: Connector Ce_sup is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Splitter6.mos b/testsuite/openmodelica/dataReconciliation/TSP_Splitter6.mos index d67e1d067bf..f73a0bcc3e1 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Splitter6.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Splitter6.mos @@ -2472,6 +2472,13 @@ getErrorString(); // [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:29:3-31:17:writable] Warning: Connector Ce_steam is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [ThermoSysPro 3.2.0/WaterSteam/Junctions/StaticDrum.mo:32:3-34:17:writable] Warning: Connector Ce_sup is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. // " // endResult diff --git a/testsuite/openmodelica/dataReconciliation/TSP_Splitter7.mos b/testsuite/openmodelica/dataReconciliation/TSP_Splitter7.mos index 9e9a6d3f653..a15d681234d 100644 --- a/testsuite/openmodelica/dataReconciliation/TSP_Splitter7.mos +++ b/testsuite/openmodelica/dataReconciliation/TSP_Splitter7.mos @@ -1922,5 +1922,12 @@ getErrorString(); // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/LumpedStraightPipe.mo:50:3-51:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/LumpedStraightPipe.mo:52:3-54:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). // [openmodelica/dataReconciliation/NewDataReconciliationSimpleTests/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:784:9-784:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:851:9-851:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteam/IF97_packages.mo:1089:9-1089:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph.mo:76:3-76:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. +// [ThermoSysPro 3.2.0/Properties/WaterSteamSimple/prop4_Ph_der.mo:179:3-182:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. // " // endResult