Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001073/0.001073, allocations: 205.6 kB / 8.54 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009139/0.0009143, allocations: 93.34 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1719/0.1719, allocations: 45.14 MB / 383.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2163/0.3882, allocations: 69.37 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.4839, allocations: 63.25 MB / 0.5039 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.567/5.051, allocations: 2.776 GB / 3.279 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/5.052, allocations: 83.02 kB / 3.28 GB, free: 136.2 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.112/7.164, allocations: 0.7475 GB / 4.027 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/7.164, allocations: 8 kB / 4.027 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006051/7.17, allocations: 0.8371 MB / 4.028 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/7.172, allocations: 0.9479 MB / 4.029 GB, free: 9.465 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/7.172, allocations: 193.2 kB / 4.029 GB, free: 9.25 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/7.172, allocations: 72 kB / 4.029 GB, free: 9.18 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002251/7.175, allocations: 1.329 MB / 4.03 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/7.177, allocations: 1.658 MB / 4.032 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/7.177, allocations: 7.938 kB / 4.032 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/7.177, allocations: 11.94 kB / 4.032 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.863e-05/7.177, allocations: 58.02 kB / 4.032 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3459/7.523, allocations: 85.08 MB / 4.115 GB, free: 41.46 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/7.524, allocations: 421.1 kB / 4.115 GB, free: 41.44 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/7.524, allocations: 354.1 kB / 4.116 GB, free: 41.43 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008479/7.525, allocations: 0.6764 MB / 4.116 GB, free: 40.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/7.525, allocations: 50.72 kB / 4.117 GB, free: 40.81 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=78): time 2.475e-06/7.525, allocations: 0 / 4.117 GB, free: 40.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.01109/7.536, allocations: 3.329 MB / 4.12 GB, free: 40.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/7.536, allocations: 168.9 kB / 4.12 GB, free: 40.15 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009895/7.537, allocations: 0.7373 MB / 4.121 GB, free: 39.99 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.844e-05/7.538, allocations: 27.95 kB / 4.121 GB, free: 39.96 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000356/7.538, allocations: 0.6024 MB / 4.121 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/7.538, allocations: 297.6 kB / 4.122 GB, free: 39.49 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/7.538, allocations: 6.016 kB / 4.122 GB, free: 39.49 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001486/7.538, allocations: 418 kB / 4.122 GB, free: 39.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/7.539, allocations: 421.6 kB / 4.122 GB, free: 39.18 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009619/7.54, allocations: 1.039 MB / 4.123 GB, free: 38.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002665/7.543, allocations: 0.832 MB / 4.124 GB, free: 38.34 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/7.543, allocations: 7.094 kB / 4.124 GB, free: 38.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005764/7.548, allocations: 2.274 MB / 4.126 GB, free: 38.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001949/7.55, allocations: 8.077 MB / 4.134 GB, free: 45.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/7.55, allocations: 21.19 kB / 4.134 GB, free: 45.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/7.551, allocations: 120.1 kB / 4.134 GB, free: 45.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/7.552, allocations: 426.7 kB / 4.135 GB, free: 45.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009103/7.553, allocations: 1.229 MB / 4.136 GB, free: 44.63 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/7.555, allocations: 180.6 kB / 4.136 GB, free: 44.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/7.555, allocations: 91.97 kB / 4.136 GB, free: 44.61 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/7.555, allocations: 4.875 kB / 4.136 GB, free: 44.61 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003223/7.558, allocations: 1.467 MB / 4.138 GB, free: 44.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/7.558, allocations: 19.16 kB / 4.138 GB, free: 44.57 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002925/7.558, allocations: 126 kB / 4.138 GB, free: 44.55 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/7.56, allocations: 418.3 kB / 4.138 GB, free: 44.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007552/7.561, allocations: 1.234 MB / 4.139 GB, free: 43.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/7.562, allocations: 158.5 kB / 4.14 GB, free: 43.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/7.562, allocations: 90.34 kB / 4.14 GB, free: 43.48 MB / 0.573 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.0003116/7.562, allocations: 185 kB / 4.14 GB, free: 43.37 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/7.564, allocations: 0.5108 MB / 4.14 GB, free: 43.31 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004964/7.569, allocations: 4.139 MB / 4.144 GB, free: 42.98 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/7.569, allocations: 53.06 kB / 4.144 GB, free: 42.97 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/7.569, allocations: 3.906 kB / 4.145 GB, free: 42.97 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/7.569, allocations: 7.641 kB / 4.145 GB, free: 42.97 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006271/7.575, allocations: 5.745 MB / 4.15 GB, free: 42.31 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/7.575, allocations: 3.594 kB / 4.15 GB, free: 42.31 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008221/7.576, allocations: 221.9 kB / 4.15 GB, free: 42.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/7.576, allocations: 158.9 kB / 4.15 GB, free: 42.28 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.615e-05/7.576, allocations: 23.72 kB / 4.151 GB, free: 42.28 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008322/7.577, allocations: 1.294 MB / 4.152 GB, free: 41.23 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/7.577, allocations: 3.312 kB / 4.152 GB, free: 41.23 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005629/7.583, allocations: 4.476 MB / 4.156 GB, free: 40.76 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006967/7.59, allocations: 5.978 MB / 4.162 GB, free: 39.89 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/7.59, allocations: 371.6 kB / 4.162 GB, free: 39.71 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/7.591, allocations: 7.469 kB / 4.162 GB, free: 39.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009314/7.592, allocations: 113.1 kB / 4.162 GB, free: 39.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/7.592, allocations: 88.34 kB / 4.163 GB, free: 39.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.954e-05/7.592, allocations: 48.09 kB / 4.163 GB, free: 39.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.0006534/7.593, allocations: 0.5133 MB / 4.163 GB, free: 39.59 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007845/7.6, allocations: 1.915 MB / 4.165 GB, free: 39.58 MB / 0.573 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.006527/7.607, allocations: 2.185 MB / 4.167 GB, free: 39.28 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004129/7.611, allocations: 2.916 MB / 4.17 GB, free: 39.23 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/7.611, allocations: 2.109 kB / 4.17 GB, free: 39.23 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/7.613, allocations: 1.774 MB / 4.172 GB, free: 39.23 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/7.615, allocations: 449.1 kB / 4.172 GB, free: 39.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/7.62, allocations: 3.311 MB / 4.175 GB, free: 38.47 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/7.621, allocations: 1.589 MB / 4.177 GB, free: 37.72 MB / 0.573 GB Notification: Performance of SimCode: time 1.002e-06/7.621, allocations: 0 / 4.177 GB, free: 37.72 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1)