Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1.T|Tmix2.T|Tdiff|volume1.medium.h|volume2.medium.h",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1.T|Tmix2.T|Tdiff|volume1.medium.h|volume2.medium.h",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002675/0.002675, allocations: 174.9 kB / 8.146 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001307/0.001306, allocations: 88.59 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2581/0.2581, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.287e-06/9.368e-06, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2753, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.853/6.128, allocations: 2.769 GB / 3.235 GB, free: 16.62 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/6.129, allocations: 91.69 kB / 3.235 GB, free: 16.57 MB / 0.4948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd: time 3.252/9.38, allocations: 0.7368 GB / 3.971 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001411/9.381, allocations: 41.22 kB / 3.971 GB, free: 39.81 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.01302/9.394, allocations: 2.699 MB / 3.974 GB, free: 38.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/9.394, allocations: 12.41 kB / 3.974 GB, free: 38.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/9.404, allocations: 0.8398 MB / 3.975 GB, free: 38.19 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/9.408, allocations: 0.9527 MB / 3.976 GB, free: 37.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000447/9.408, allocations: 188.6 kB / 3.976 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006087/9.409, allocations: 72.84 kB / 3.976 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004862/9.414, allocations: 1.328 MB / 3.977 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005134/9.419, allocations: 1.659 MB / 3.979 GB, free: 36.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.075e-05/9.419, allocations: 7.531 kB / 3.979 GB, free: 36.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002831/9.419, allocations: 10.44 kB / 3.979 GB, free: 36.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.935e-05/9.419, allocations: 56.97 kB / 3.979 GB, free: 36.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4702/9.89, allocations: 75.54 MB / 4.053 GB, free: 86.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/9.891, allocations: 430.2 kB / 4.053 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008344/9.892, allocations: 342 kB / 4.054 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/9.893, allocations: 0.6829 MB / 4.054 GB, free: 85.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/9.893, allocations: 40.28 kB / 4.054 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 2.905e-06/9.893, allocations: 0 / 4.054 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86): time 0.01941/9.913, allocations: 3.33 MB / 4.058 GB, free: 84.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/9.913, allocations: 164.7 kB / 4.058 GB, free: 84.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/9.914, allocations: 0.7402 MB / 4.058 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002532/9.915, allocations: 25.7 kB / 4.058 GB, free: 84.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/9.915, allocations: 0.6196 MB / 4.059 GB, free: 84.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003838/9.916, allocations: 298.6 kB / 4.059 GB, free: 84.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/9.916, allocations: 2.406 kB / 4.059 GB, free: 84.06 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001239/9.916, allocations: 375 kB / 4.06 GB, free: 83.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/9.917, allocations: 415.4 kB / 4.06 GB, free: 83.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/9.918, allocations: 1.041 MB / 4.061 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004776/9.923, allocations: 0.8286 MB / 4.062 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-05/9.923, allocations: 6.781 kB / 4.062 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.0103/9.934, allocations: 2.234 MB / 4.064 GB, free: 82.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001759/9.935, allocations: 8.085 MB / 4.072 GB, free: 74.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-05/9.936, allocations: 18.09 kB / 4.072 GB, free: 74.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006498/9.936, allocations: 125.2 kB / 4.072 GB, free: 74.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/9.939, allocations: 418.8 kB / 4.073 GB, free: 74.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/9.94, allocations: 1.232 MB / 4.074 GB, free: 73.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/9.943, allocations: 161.3 kB / 4.074 GB, free: 73.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/9.943, allocations: 101.4 kB / 4.074 GB, free: 73.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/9.943, allocations: 2.469 kB / 4.074 GB, free: 73.38 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005958/9.949, allocations: 1.462 MB / 4.075 GB, free: 73.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.954e-05/9.949, allocations: 21.25 kB / 4.075 GB, free: 73.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/9.95, allocations: 121.1 kB / 4.076 GB, free: 73.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/9.953, allocations: 427.9 kB / 4.076 GB, free: 73.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/9.954, allocations: 1.229 MB / 4.077 GB, free: 72.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/9.956, allocations: 162.1 kB / 4.077 GB, free: 72.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/9.956, allocations: 93.12 kB / 4.077 GB, free: 72.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 18 (volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,sink2.medium.phase,volume2.inFlow[2],volume2.inFlow[1],sink1.medium.phase,volume1.inFlow[2],volume1.inFlow[1],orifice2.state_b.phase,orifice2.state_a.phase,orifice1.state_b.phase,orifice1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005203/9.957, allocations: 94.05 kB / 4.078 GB, free: 72.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002262/9.959, allocations: 0.514 MB / 4.078 GB, free: 72.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008771/9.968, allocations: 4.137 MB / 4.082 GB, free: 71.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.774e-05/9.968, allocations: 54.28 kB / 4.082 GB, free: 71.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/9.968, allocations: 0 / 4.082 GB, free: 71.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/9.968, allocations: 6.422 kB / 4.082 GB, free: 71.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/9.98, allocations: 5.75 MB / 4.088 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/9.98, allocations: 6.547 kB / 4.088 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/9.981, allocations: 209 kB / 4.088 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007656/9.982, allocations: 172 kB / 4.088 GB, free: 71.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/9.982, allocations: 24.42 kB / 4.088 GB, free: 71.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000999/9.983, allocations: 1.292 MB / 4.089 GB, free: 70.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/9.983, allocations: 0 / 4.089 GB, free: 70.16 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009804/9.993, allocations: 4.47 MB / 4.094 GB, free: 69.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/9.994, allocations: 371.4 kB / 4.094 GB, free: 69.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003798/9.995, allocations: 13.22 kB / 4.094 GB, free: 69.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001926/9.997, allocations: 117.5 kB / 4.094 GB, free: 69.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/9.997, allocations: 89.66 kB / 4.094 GB, free: 69.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/9.997, allocations: 43.38 kB / 4.094 GB, free: 69.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.00103/9.998, allocations: 0.5184 MB / 4.095 GB, free: 69.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008373/10.01, allocations: 1.521 MB / 4.096 GB, free: 69.39 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (volume1.medium.p,volume1.medium.h,volume2.medium.p,volume2.medium.h) * Number of discrete variables: 30 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01124/10.02, allocations: 2.179 MB / 4.098 GB, free: 69.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00773/10.03, allocations: 2.892 MB / 4.101 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/10.03, allocations: 5.391 kB / 4.101 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003149/10.03, allocations: 1.767 MB / 4.103 GB, free: 69.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004434/10.03, allocations: 444.7 kB / 4.103 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007876/10.04, allocations: 3.35 MB / 4.107 GB, free: 68.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/10.04, allocations: 1.574 MB / 4.108 GB, free: 67.78 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/10.04, allocations: 0 / 4.108 GB, free: 67.78 MB / 0.5261 GB Notification: Performance of Templates: time 0.09919/10.14, allocations: 55.56 MB / 4.163 GB, free: 64.28 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)