Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 180.2 kB / 7.802 MB, free: 1.211 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4926/0.4926, allocations: 90.85 MB / 99.07 MB, free: 8.938 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 221.3 MB / 342.7 MB, free: 4.781 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009528/0.0009525, allocations: 86.48 kB / 415.5 MB, free: 14.12 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1513/0.1523, allocations: 78.46 MB / 493.9 MB, free: 7.539 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.5412, allocations: 72.31 MB / 0.553 GB, free: 62.03 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6024/1.144, allocations: 358.4 MB / 0.903 GB, free: 50.94 MB / 0.5652 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/1.144, allocations: 88.88 kB / 0.9031 GB, free: 50.9 MB / 0.5652 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.5522/1.696, allocations: 107.2 MB / 1.008 GB, free: 137.4 MB / 0.5964 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.696, allocations: 7.75 kB / 1.008 GB, free: 137.4 MB / 0.5964 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/1.696, allocations: 44.94 kB / 1.008 GB, free: 137.4 MB / 0.5964 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01428/1.711, allocations: 6.836 MB / 1.015 GB, free: 136.9 MB / 0.5964 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/1.711, allocations: 7.531 kB / 1.015 GB, free: 136.9 MB / 0.5964 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/1.711, allocations: 24.28 kB / 1.015 GB, free: 136.9 MB / 0.5964 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003433/1.711, allocations: 141.1 kB / 1.015 GB, free: 136.9 MB / 0.5964 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/1.711, allocations: 244.1 kB / 1.015 GB, free: 136.9 MB / 0.5964 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/1.712, allocations: 10.06 kB / 1.015 GB, free: 136.9 MB / 0.5964 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/1.712, allocations: 3.656 kB / 1.015 GB, free: 136.9 MB / 0.5964 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/1.712, allocations: 7.812 kB / 1.015 GB, free: 136.9 MB / 0.5964 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/1.713, allocations: 1.419 MB / 1.016 GB, free: 135.9 MB / 0.5964 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/1.713, allocations: 118.3 kB / 1.016 GB, free: 135.9 MB / 0.5964 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.6e-05/1.714, allocations: 50.02 kB / 1.017 GB, free: 135.9 MB / 0.5964 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/1.714, allocations: 83.7 kB / 1.017 GB, free: 135.8 MB / 0.5964 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/1.714, allocations: 102.9 kB / 1.017 GB, free: 135.8 MB / 0.5964 GB Notification: Performance of pre-optimization done (n=15): time 3.266e-06/1.714, allocations: 0 / 1.017 GB, free: 135.8 MB / 0.5964 GB Notification: Performance of matching and sorting (n=15): time 0.0003207/1.714, allocations: 136.4 kB / 1.017 GB, free: 135.7 MB / 0.5964 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/1.714, allocations: 57.31 kB / 1.017 GB, free: 135.7 MB / 0.5964 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/1.714, allocations: 284.5 kB / 1.017 GB, free: 135.6 MB / 0.5964 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/1.715, allocations: 25.7 kB / 1.017 GB, free: 135.5 MB / 0.5964 GB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/1.715, allocations: 180.7 kB / 1.017 GB, free: 135.4 MB / 0.5964 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/1.715, allocations: 49.61 kB / 1.017 GB, free: 135.4 MB / 0.5964 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/1.715, allocations: 0 / 1.017 GB, free: 135.4 MB / 0.5964 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/1.715, allocations: 347.2 kB / 1.018 GB, free: 135.1 MB / 0.5964 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.293e-05/1.715, allocations: 45.88 kB / 1.018 GB, free: 135.1 MB / 0.5964 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/1.715, allocations: 125.9 kB / 1.018 GB, free: 135 MB / 0.5964 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/1.715, allocations: 77.42 kB / 1.018 GB, free: 135 MB / 0.5964 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.715, allocations: 0 / 1.018 GB, free: 135 MB / 0.5964 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003746/1.716, allocations: 227.2 kB / 1.018 GB, free: 134.9 MB / 0.5964 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/1.716, allocations: 9.438 kB / 1.018 GB, free: 134.9 MB / 0.5964 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.716, allocations: 3.875 kB / 1.018 GB, free: 134.9 MB / 0.5964 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.716, allocations: 3.844 kB / 1.018 GB, free: 134.9 MB / 0.5964 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/1.716, allocations: 61.45 kB / 1.018 GB, free: 134.9 MB / 0.5964 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.716, allocations: 10.59 kB / 1.018 GB, free: 134.9 MB / 0.5964 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/1.716, allocations: 30.94 kB / 1.018 GB, free: 134.9 MB / 0.5964 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/1.716, allocations: 18.44 kB / 1.018 GB, free: 134.9 MB / 0.5964 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 7.631e-05/1.716, allocations: 117.3 kB / 1.018 GB, free: 134.8 MB / 0.5964 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/1.716, allocations: 34.53 kB / 1.018 GB, free: 134.8 MB / 0.5964 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/1.717, allocations: 149.3 kB / 1.019 GB, free: 134.7 MB / 0.5964 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.717, allocations: 0 / 1.019 GB, free: 134.7 MB / 0.5964 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/1.717, allocations: 0 / 1.019 GB, free: 134.7 MB / 0.5964 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002294/1.717, allocations: 449.8 kB / 1.019 GB, free: 134.3 MB / 0.5964 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/1.717, allocations: 307.5 kB / 1.019 GB, free: 134.1 MB / 0.5964 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.717, allocations: 0 / 1.019 GB, free: 134.1 MB / 0.5964 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/1.717, allocations: 37.48 kB / 1.019 GB, free: 134.1 MB / 0.5964 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.717, allocations: 3.797 kB / 1.019 GB, free: 134.1 MB / 0.5964 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/1.717, allocations: 3.844 kB / 1.019 GB, free: 134.1 MB / 0.5964 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.717, allocations: 3.906 kB / 1.019 GB, free: 134.1 MB / 0.5964 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.717, allocations: 3.375 kB / 1.019 GB, free: 134.1 MB / 0.5964 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003097/1.718, allocations: 221.3 kB / 1.02 GB, free: 134.1 MB / 0.5964 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004282/1.718, allocations: 0.6633 MB / 1.02 GB, free: 133.6 MB / 0.5964 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/1.718, allocations: 126.9 kB / 1.02 GB, free: 133.5 MB / 0.5964 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/1.718, allocations: 9.953 kB / 1.02 GB, free: 133.5 MB / 0.5964 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/1.719, allocations: 15.55 kB / 1.02 GB, free: 133.5 MB / 0.5964 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/1.719, allocations: 14.86 kB / 1.02 GB, free: 133.5 MB / 0.5964 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/1.719, allocations: 11.38 kB / 1.02 GB, free: 133.5 MB / 0.5964 GB Notification: Performance of sort global known variables: time 0.0001816/1.719, allocations: 212.8 kB / 1.021 GB, free: 133.4 MB / 0.5964 GB Notification: Performance of remove unused functions: time 0.001126/1.72, allocations: 157.7 kB / 1.021 GB, free: 133.4 MB / 0.5964 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.0003556/1.72, allocations: 236.4 kB / 1.021 GB, free: 133.3 MB / 0.5964 GB Notification: Performance of simCode: created initialization part: time 0.0002552/1.721, allocations: 160.9 kB / 1.021 GB, free: 133.2 MB / 0.5964 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.721, allocations: 0 / 1.021 GB, free: 133.2 MB / 0.5964 GB Notification: Performance of simCode: created simulation system equations: time 8.615e-05/1.721, allocations: 52.52 kB / 1.021 GB, free: 133.2 MB / 0.5964 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/1.722, allocations: 181 kB / 1.021 GB, free: 133.2 MB / 0.5964 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/1.723, allocations: 0.5222 MB / 1.022 GB, free: 133.1 MB / 0.5964 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/1.723, allocations: 0.8361 MB / 1.023 GB, free: 132.4 MB / 0.5964 GB Notification: Performance of SimCode: time 3.1e-07/1.723, allocations: 0 / 1.023 GB, free: 132.4 MB / 0.5964 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)