Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1",fmuType="me",version="2.0",platforms={"static"}) [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 180 kB / 8.519 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 221.4 MB / 230.3 MB, free: 7.703 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008884/0.0008885, allocations: 95.19 kB / 281.2 MB, free: 5.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1556/0.1556, allocations: 44.14 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1754/0.3311, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.4233, allocations: 61.92 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.256/4.68, allocations: 2.775 GB / 3.269 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/4.68, allocations: 90.41 kB / 3.269 GB, free: 150.4 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 .... [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: 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 2.219/6.899, allocations: 0.7472 GB / 4.016 GB, free: 39.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/6.899, allocations: 13.66 kB / 4.016 GB, free: 39.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007585/6.907, allocations: 0.8308 MB / 4.017 GB, free: 39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003585/6.91, allocations: 0.957 MB / 4.018 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000442/6.911, allocations: 187.3 kB / 4.018 GB, free: 38.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008037/6.912, allocations: 74.81 kB / 4.018 GB, free: 38.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003684/6.915, allocations: 1.323 MB / 4.019 GB, free: 37.87 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004153/6.92, allocations: 1.655 MB / 4.021 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.732e-05/6.92, allocations: 10.22 kB / 4.021 GB, free: 36.92 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/6.92, allocations: 14.12 kB / 4.021 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.84e-05/6.92, allocations: 54.22 kB / 4.021 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3745/7.295, allocations: 75.53 MB / 4.095 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008/7.295, allocations: 430.3 kB / 4.095 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/7.296, allocations: 362.2 kB / 4.096 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009528/7.297, allocations: 0.6752 MB / 4.096 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/7.297, allocations: 52.86 kB / 4.096 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=78): time 2.584e-06/7.297, allocations: 0 / 4.096 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.01211/7.309, allocations: 3.326 MB / 4.1 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/7.309, allocations: 162 kB / 4.1 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/7.31, allocations: 0.7451 MB / 4.1 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/7.311, allocations: 25.7 kB / 4.1 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/7.311, allocations: 0.6026 MB / 4.101 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/7.311, allocations: 300 kB / 4.101 GB, free: 108 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/7.311, allocations: 0 / 4.101 GB, free: 108 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001299/7.311, allocations: 418.1 kB / 4.102 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006495/7.312, allocations: 417.9 kB / 4.102 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008893/7.313, allocations: 1.037 MB / 4.103 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/7.316, allocations: 0.834 MB / 4.104 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/7.316, allocations: 6.75 kB / 4.104 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.006182/7.322, allocations: 2.281 MB / 4.106 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001499/7.324, allocations: 8.082 MB / 4.114 GB, free: 98.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.854e-05/7.324, allocations: 21.12 kB / 4.114 GB, free: 98.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003989/7.324, allocations: 118.6 kB / 4.114 GB, free: 98.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/7.325, allocations: 422 kB / 4.115 GB, free: 98.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007264/7.326, allocations: 1.225 MB / 4.116 GB, free: 97.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/7.328, allocations: 184 kB / 4.116 GB, free: 97.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/7.328, allocations: 92.95 kB / 4.116 GB, free: 97.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/7.328, allocations: 5.938 kB / 4.116 GB, free: 97.27 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00362/7.332, allocations: 1.471 MB / 4.117 GB, free: 97.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.618e-05/7.332, allocations: 20.34 kB / 4.118 GB, free: 97.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003421/7.332, allocations: 121.1 kB / 4.118 GB, free: 97.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/7.334, allocations: 420.6 kB / 4.118 GB, free: 97.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000711/7.334, allocations: 1.234 MB / 4.119 GB, free: 96.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/7.336, allocations: 160 kB / 4.119 GB, free: 96.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/7.336, allocations: 88.59 kB / 4.119 GB, free: 96.18 MB / 0.5573 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.0004994/7.337, allocations: 171.6 kB / 4.12 GB, free: 96.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001787/7.339, allocations: 0.5205 MB / 4.12 GB, free: 96.01 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005714/7.344, allocations: 4.134 MB / 4.124 GB, free: 95.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.139e-05/7.344, allocations: 53.67 kB / 4.124 GB, free: 95.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/7.345, allocations: 0 / 4.124 GB, free: 95.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/7.345, allocations: 7.172 kB / 4.124 GB, free: 95.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007482/7.352, allocations: 5.761 MB / 4.13 GB, free: 95.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/7.352, allocations: 1.531 kB / 4.13 GB, free: 95.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008472/7.353, allocations: 217.5 kB / 4.13 GB, free: 95.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004564/7.353, allocations: 163.3 kB / 4.13 GB, free: 95.03 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.541e-05/7.353, allocations: 17.88 kB / 4.13 GB, free: 95.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006404/7.354, allocations: 1.297 MB / 4.132 GB, free: 93.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/7.354, allocations: 0 / 4.132 GB, free: 93.98 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006159/7.36, allocations: 4.475 MB / 4.136 GB, free: 93.51 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007814/7.368, allocations: 5.969 MB / 4.142 GB, free: 92.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008594/7.369, allocations: 376.5 kB / 4.142 GB, free: 92.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/7.369, allocations: 2.406 kB / 4.142 GB, free: 92.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/7.371, allocations: 121.1 kB / 4.142 GB, free: 92.47 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/7.371, allocations: 91.77 kB / 4.142 GB, free: 92.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/7.371, allocations: 45.3 kB / 4.142 GB, free: 92.47 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0007904/7.372, allocations: 0.5171 MB / 4.143 GB, free: 92.36 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00944/7.381, allocations: 1.885 MB / 4.145 GB, free: 92.36 MB / 0.5573 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.008986/7.39, allocations: 2.179 MB / 4.147 GB, free: 92.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005331/7.396, allocations: 2.925 MB / 4.15 GB, free: 92.12 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/7.396, allocations: 8.844 kB / 4.15 GB, free: 92.12 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002348/7.398, allocations: 1.77 MB / 4.151 GB, free: 92.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/7.401, allocations: 450.5 kB / 4.152 GB, free: 92.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/7.407, allocations: 3.32 MB / 4.155 GB, free: 91.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/7.408, allocations: 1.584 MB / 4.157 GB, free: 90.78 MB / 0.5573 GB Notification: Performance of SimCode: time 6.71e-07/7.408, allocations: 1.75 kB / 4.157 GB, free: 90.78 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)