Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.408/1.408, allocations: 285.5 MB / 292.8 MB, free: 10.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009734/0.0009733, allocations: 185.3 kB / 361.1 MB, free: 7.051 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.146/1.146, allocations: 205.1 MB / 0.6195 GB, free: 11.91 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008112/0.0008112, allocations: 89.94 kB / 0.7325 GB, free: 44.42 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2251/0.226, allocations: 121.4 MB / 0.8511 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5509/0.7769, allocations: 115.3 MB / 0.9638 GB, free: 77.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.798/4.575, allocations: 2.062 GB / 3.026 GB, free: 336 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/4.575, allocations: 88.66 kB / 3.026 GB, free: 336 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 1.208/5.783, allocations: 426.8 MB / 3.443 GB, free: 223.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/5.783, allocations: 11.25 kB / 3.443 GB, free: 223.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/5.785, allocations: 278.9 kB / 3.443 GB, free: 223.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008924/5.786, allocations: 484 kB / 3.444 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/5.786, allocations: 15.66 kB / 3.444 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/5.786, allocations: 27.41 kB / 3.444 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006478/5.787, allocations: 389.1 kB / 3.444 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006796/5.788, allocations: 0.4889 MB / 3.445 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/5.788, allocations: 0 / 3.445 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/5.788, allocations: 3.906 kB / 3.445 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/5.788, allocations: 11.28 kB / 3.445 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/5.79, allocations: 2.134 MB / 3.447 GB, free: 222.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005842/5.791, allocations: 374.2 kB / 3.447 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/5.791, allocations: 197.7 kB / 3.447 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006662/5.792, allocations: 0.6299 MB / 3.448 GB, free: 221.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/5.792, allocations: 257.9 kB / 3.448 GB, free: 221.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/5.792, allocations: 0 / 3.448 GB, free: 221.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37): time 0.002011/5.794, allocations: 0.6149 MB / 3.449 GB, free: 221.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/5.794, allocations: 59.12 kB / 3.449 GB, free: 221.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/5.795, allocations: 302.4 kB / 3.449 GB, free: 221.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/5.795, allocations: 32.36 kB / 3.449 GB, free: 221.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/5.795, allocations: 219.6 kB / 3.449 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.114e-05/5.795, allocations: 118.9 kB / 3.449 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/5.795, allocations: 3.906 kB / 3.449 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.351e-05/5.795, allocations: 360.3 kB / 3.45 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/5.795, allocations: 143.8 kB / 3.45 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/5.795, allocations: 269.5 kB / 3.45 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/5.796, allocations: 238.2 kB / 3.45 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/5.796, allocations: 3.875 kB / 3.45 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008546/5.797, allocations: 0.5109 MB / 3.451 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/5.797, allocations: 7.969 kB / 3.451 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/5.797, allocations: 10.41 kB / 3.451 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/5.797, allocations: 7.531 kB / 3.451 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/5.797, allocations: 114 kB / 3.451 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/5.797, allocations: 3.969 kB / 3.451 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/5.798, allocations: 81.86 kB / 3.451 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/5.798, allocations: 25.34 kB / 3.451 GB, free: 220.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/5.798, allocations: 119.4 kB / 3.451 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/5.798, allocations: 45.47 kB / 3.451 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008479/5.799, allocations: 488.7 kB / 3.452 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/5.799, allocations: 3.406 kB / 3.452 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/5.799, allocations: 0 / 3.452 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/5.799, allocations: 7.266 kB / 3.452 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/5.801, allocations: 1.218 MB / 3.453 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/5.801, allocations: 3.562 kB / 3.453 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/5.801, allocations: 92.42 kB / 3.453 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/5.801, allocations: 7.906 kB / 3.453 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/5.802, allocations: 8.781 kB / 3.453 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/5.802, allocations: 16.23 kB / 3.453 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/5.802, allocations: 7.719 kB / 3.453 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001145/5.803, allocations: 0.9784 MB / 3.454 GB, free: 219.5 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001661/5.804, allocations: 1.664 MB / 3.456 GB, free: 218.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/5.805, allocations: 157.2 kB / 3.456 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/5.805, allocations: 10.44 kB / 3.456 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005013/5.805, allocations: 55.19 kB / 3.456 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/5.805, allocations: 41.59 kB / 3.456 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/5.805, allocations: 20.81 kB / 3.456 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0001755/5.806, allocations: 235.6 kB / 3.456 GB, free: 218.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001679/5.807, allocations: 428.9 kB / 3.457 GB, free: 218.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001941/5.809, allocations: 1.663 MB / 3.458 GB, free: 218 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005885/5.81, allocations: 433.6 kB / 3.459 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/5.81, allocations: 0 / 3.459 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003994/5.81, allocations: 234.9 kB / 3.459 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009024/5.811, allocations: 176.8 kB / 3.459 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/5.813, allocations: 0.795 MB / 3.46 GB, free: 217.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004627/5.813, allocations: 0.9377 MB / 3.461 GB, free: 216.9 MB / 0.9323 GB Notification: Performance of SimCode: time 4.2e-07/5.813, allocations: 0 / 3.461 GB, free: 216.9 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)