Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.26/1.26, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 181 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.2 MB / 0.5667 GB, free: 15.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008973/0.0008972, allocations: 102.2 kB / 0.671 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3781/0.3791, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.5556, allocations: 106.3 MB / 0.8846 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.197/4.753, allocations: 2.182 GB / 3.066 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/4.753, allocations: 83.95 kB / 3.066 GB, free: 222.8 MB / 0.8698 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.076/5.829, allocations: 413.1 MB / 3.47 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/5.829, allocations: 8 kB / 3.47 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/5.831, allocations: 270.9 kB / 3.47 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007132/5.831, allocations: 484.3 kB / 3.471 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/5.832, allocations: 12 kB / 3.471 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/5.832, allocations: 31.91 kB / 3.471 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005839/5.832, allocations: 393.9 kB / 3.471 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/5.833, allocations: 489.6 kB / 3.471 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/5.833, allocations: 4 kB / 3.471 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/5.833, allocations: 0 / 3.471 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/5.833, allocations: 8 kB / 3.471 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/5.835, allocations: 2.126 MB / 3.473 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/5.835, allocations: 387.4 kB / 3.474 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/5.836, allocations: 188.8 kB / 3.474 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005951/5.836, allocations: 0.6337 MB / 3.475 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002948/5.837, allocations: 255.9 kB / 3.475 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 1.843e-06/5.837, allocations: 3.938 kB / 3.475 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.001842/5.838, allocations: 0.6175 MB / 3.475 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/5.839, allocations: 63.39 kB / 3.476 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/5.839, allocations: 309.1 kB / 3.476 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/5.839, allocations: 25.7 kB / 3.476 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/5.839, allocations: 224 kB / 3.476 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/5.839, allocations: 118.2 kB / 3.476 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/5.839, allocations: 0 / 3.476 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/5.839, allocations: 358.8 kB / 3.477 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/5.839, allocations: 140.9 kB / 3.477 GB, free: 141 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/5.84, allocations: 273.5 kB / 3.477 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/5.84, allocations: 239.5 kB / 3.477 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/5.84, allocations: 0 / 3.477 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007705/5.841, allocations: 0.5161 MB / 3.478 GB, free: 140 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/5.841, allocations: 4 kB / 3.478 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/5.841, allocations: 4 kB / 3.478 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/5.841, allocations: 8 kB / 3.478 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/5.841, allocations: 108.2 kB / 3.478 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/5.841, allocations: 15.84 kB / 3.478 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/5.842, allocations: 83.62 kB / 3.478 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/5.842, allocations: 27.98 kB / 3.478 GB, free: 139.7 MB / 0.8698 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 9.296e-05/5.842, allocations: 113.6 kB / 3.478 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/5.842, allocations: 47.44 kB / 3.478 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007725/5.843, allocations: 477.6 kB / 3.479 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/5.843, allocations: 4 kB / 3.479 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/5.843, allocations: 7.984 kB / 3.479 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/5.843, allocations: 0 / 3.479 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/5.844, allocations: 1.236 MB / 3.48 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/5.844, allocations: 4.438 kB / 3.48 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/5.845, allocations: 83.89 kB / 3.48 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/5.845, allocations: 8 kB / 3.48 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/5.845, allocations: 8 kB / 3.48 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/5.845, allocations: 11.98 kB / 3.48 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/5.845, allocations: 7.938 kB / 3.48 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009559/5.846, allocations: 0.9864 MB / 3.481 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001401/5.847, allocations: 1.654 MB / 3.482 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/5.847, allocations: 160.4 kB / 3.483 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/5.847, allocations: 8 kB / 3.483 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/5.848, allocations: 59.92 kB / 3.483 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/5.848, allocations: 43.92 kB / 3.483 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/5.848, allocations: 12 kB / 3.483 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001678/5.848, allocations: 231.2 kB / 3.483 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001466/5.85, allocations: 431.6 kB / 3.483 GB, free: 133.7 MB / 0.8698 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.00151/5.851, allocations: 1.675 MB / 3.485 GB, free: 132 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005522/5.852, allocations: 431.6 kB / 3.485 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/5.852, allocations: 0 / 3.485 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/5.852, allocations: 231.7 kB / 3.486 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/5.853, allocations: 182.7 kB / 3.486 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/5.855, allocations: 0.7881 MB / 3.487 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/5.855, allocations: 0.9333 MB / 3.487 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/5.855, allocations: 7.938 kB / 3.487 GB, free: 129.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)