Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",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.38/1.38, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001019/0.001019, allocations: 181.3 kB / 361.1 MB, free: 7.102 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.15/1.15, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008392/0.0008392, allocations: 88.72 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2207/0.2216, allocations: 121.4 MB / 0.8511 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.7397, allocations: 115.3 MB / 0.9637 GB, free: 77.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.74/1.48, allocations: 394.3 MB / 1.349 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/1.48, allocations: 84.78 kB / 1.349 GB, free: 167.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.1798/1.66, allocations: 104.2 MB / 1.451 GB, free: 77.19 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/1.66, allocations: 8.5 kB / 1.451 GB, free: 77.18 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/1.66, allocations: 48 kB / 1.451 GB, free: 77.14 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/1.673, allocations: 6.679 MB / 1.457 GB, free: 70.37 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/1.673, allocations: 8 kB / 1.457 GB, free: 70.36 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/1.673, allocations: 19.98 kB / 1.457 GB, free: 70.34 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003012/1.673, allocations: 137.5 kB / 1.457 GB, free: 70.21 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/1.674, allocations: 252.3 kB / 1.458 GB, free: 69.94 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.674, allocations: 3.938 kB / 1.458 GB, free: 69.94 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/1.674, allocations: 0 / 1.458 GB, free: 69.94 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/1.674, allocations: 12 kB / 1.458 GB, free: 69.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/1.675, allocations: 1.426 MB / 1.459 GB, free: 68.39 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/1.675, allocations: 114.7 kB / 1.459 GB, free: 68.27 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/1.675, allocations: 45.42 kB / 1.459 GB, free: 68.22 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/1.676, allocations: 93.09 kB / 1.459 GB, free: 68.11 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/1.676, allocations: 99.31 kB / 1.459 GB, free: 68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/1.676, allocations: 0 / 1.459 GB, free: 68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002959/1.676, allocations: 133.2 kB / 1.46 GB, free: 67.86 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/1.676, allocations: 59.39 kB / 1.46 GB, free: 67.79 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/1.676, allocations: 275.5 kB / 1.46 GB, free: 67.52 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/1.676, allocations: 29.7 kB / 1.46 GB, free: 67.48 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/1.676, allocations: 183.8 kB / 1.46 GB, free: 67.29 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/1.676, allocations: 51.3 kB / 1.46 GB, free: 67.24 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/1.677, allocations: 0 / 1.46 GB, free: 67.24 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.41e-05/1.677, allocations: 342.7 kB / 1.46 GB, free: 66.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/1.677, allocations: 47.98 kB / 1.46 GB, free: 66.85 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/1.677, allocations: 130.4 kB / 1.461 GB, free: 66.69 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/1.677, allocations: 71.05 kB / 1.461 GB, free: 66.62 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.677, allocations: 4 kB / 1.461 GB, free: 66.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003653/1.677, allocations: 229 kB / 1.461 GB, free: 66.39 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.677, allocations: 4 kB / 1.461 GB, free: 66.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.677, allocations: 4 kB / 1.461 GB, free: 66.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/1.677, allocations: 7.938 kB / 1.461 GB, free: 66.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/1.678, allocations: 60.72 kB / 1.461 GB, free: 66.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/1.678, allocations: 4 kB / 1.461 GB, free: 66.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/1.678, allocations: 31.73 kB / 1.461 GB, free: 66.28 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/1.678, allocations: 20 kB / 1.461 GB, free: 66.26 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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 6.806e-05/1.678, allocations: 116.8 kB / 1.461 GB, free: 66.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/1.678, allocations: 28.25 kB / 1.461 GB, free: 66.11 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/1.678, allocations: 152.3 kB / 1.461 GB, free: 65.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/1.678, allocations: 0 / 1.461 GB, free: 65.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.678, allocations: 0 / 1.461 GB, free: 65.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002076/1.679, allocations: 451.1 kB / 1.462 GB, free: 65.44 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/1.679, allocations: 305.9 kB / 1.462 GB, free: 65.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.679, allocations: 4.812 kB / 1.462 GB, free: 65.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/1.679, allocations: 35.91 kB / 1.462 GB, free: 65.06 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.679, allocations: 0 / 1.462 GB, free: 65.06 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/1.679, allocations: 8 kB / 1.462 GB, free: 65.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.679, allocations: 3.906 kB / 1.462 GB, free: 65.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.679, allocations: 0.625 kB / 1.462 GB, free: 65.05 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000287/1.679, allocations: 224.6 kB / 1.462 GB, free: 64.81 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003806/1.68, allocations: 0.6573 MB / 1.463 GB, free: 64.13 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.68, allocations: 128.7 kB / 1.463 GB, free: 63.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/1.68, allocations: 4 kB / 1.463 GB, free: 63.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/1.68, allocations: 21.33 kB / 1.463 GB, free: 63.96 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/1.68, allocations: 20.16 kB / 1.463 GB, free: 63.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/1.68, allocations: 7.984 kB / 1.463 GB, free: 63.94 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001531/1.68, allocations: 215.1 kB / 1.463 GB, free: 63.73 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009786/1.681, allocations: 147.9 kB / 1.463 GB, free: 63.58 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003162/1.682, allocations: 250.5 kB / 1.464 GB, free: 63.33 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002124/1.682, allocations: 156.1 kB / 1.464 GB, free: 63.18 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.682, allocations: 7.938 kB / 1.464 GB, free: 63.17 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/1.682, allocations: 55.92 kB / 1.464 GB, free: 63.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/1.683, allocations: 164.4 kB / 1.464 GB, free: 62.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008559/1.684, allocations: 0.5301 MB / 1.465 GB, free: 62.41 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/1.684, allocations: 0.8338 MB / 1.465 GB, free: 61.55 MB / 0.8542 GB Notification: Performance of SimCode: time 3.41e-07/1.684, allocations: 0 / 1.465 GB, free: 61.55 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)