Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_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.005794/0.005794, allocations: 180.8 kB / 7.457 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7788/0.7788, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.708/1.708, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 85.48 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5483/0.5498, allocations: 88.43 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.7931, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.445/2.238, allocations: 368.2 MB / 0.9928 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/2.239, allocations: 83.14 kB / 0.9929 GB, free: 262.9 MB / 0.6823 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.2039/2.443, allocations: 106.4 MB / 1.097 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/2.443, allocations: 8 kB / 1.097 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/2.443, allocations: 43.53 kB / 1.097 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01476/2.458, allocations: 6.847 MB / 1.104 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/2.458, allocations: 11.91 kB / 1.104 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/2.458, allocations: 16 kB / 1.104 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000412/2.458, allocations: 137 kB / 1.104 GB, free: 152 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/2.459, allocations: 248.3 kB / 1.104 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/2.459, allocations: 0 / 1.104 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/2.459, allocations: 8 kB / 1.104 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/2.459, allocations: 11.98 kB / 1.104 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/2.461, allocations: 1.414 MB / 1.105 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/2.461, allocations: 114.7 kB / 1.106 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.153e-05/2.461, allocations: 48.86 kB / 1.106 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/2.462, allocations: 93.03 kB / 1.106 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/2.462, allocations: 103.4 kB / 1.106 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.796e-06/2.462, allocations: 0 / 1.106 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.000422/2.462, allocations: 133.3 kB / 1.106 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/2.462, allocations: 51.41 kB / 1.106 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/2.463, allocations: 287.5 kB / 1.106 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/2.463, allocations: 29.7 kB / 1.106 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/2.463, allocations: 187.8 kB / 1.106 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/2.463, allocations: 47.36 kB / 1.106 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/2.463, allocations: 0 / 1.106 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001343/2.463, allocations: 346.7 kB / 1.107 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/2.463, allocations: 47.98 kB / 1.107 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/2.463, allocations: 129.3 kB / 1.107 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/2.463, allocations: 79.91 kB / 1.107 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/2.463, allocations: 0 / 1.107 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003638/2.464, allocations: 217.1 kB / 1.107 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/2.464, allocations: 7.984 kB / 1.107 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/2.464, allocations: 4 kB / 1.107 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/2.464, allocations: 4.312 kB / 1.107 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/2.464, allocations: 67.91 kB / 1.107 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/2.464, allocations: 7.938 kB / 1.107 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/2.464, allocations: 43.67 kB / 1.107 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/2.465, allocations: 8 kB / 1.107 GB, free: 148.1 MB / 0.6823 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 9.662e-05/2.465, allocations: 116.9 kB / 1.107 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/2.465, allocations: 35.61 kB / 1.108 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/2.465, allocations: 144.5 kB / 1.108 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/2.465, allocations: 4 kB / 1.108 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/2.465, allocations: 3.906 kB / 1.108 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002773/2.465, allocations: 442.9 kB / 1.108 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/2.466, allocations: 310 kB / 1.108 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/2.466, allocations: 0 / 1.108 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/2.466, allocations: 43.81 kB / 1.108 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/2.466, allocations: 0 / 1.108 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/2.466, allocations: 0 / 1.108 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/2.466, allocations: 4 kB / 1.108 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/2.466, allocations: 3.938 kB / 1.108 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003211/2.466, allocations: 220.7 kB / 1.109 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004771/2.467, allocations: 0.6612 MB / 1.109 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/2.467, allocations: 132.9 kB / 1.109 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/2.467, allocations: 0 / 1.109 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/2.467, allocations: 23.89 kB / 1.109 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/2.467, allocations: 19.97 kB / 1.109 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/2.467, allocations: 7.984 kB / 1.109 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001894/2.468, allocations: 215.1 kB / 1.11 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001175/2.469, allocations: 155.9 kB / 1.11 GB, free: 145.4 MB / 0.6823 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.000446/2.469, allocations: 240.5 kB / 1.11 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003046/2.469, allocations: 153.6 kB / 1.11 GB, free: 145 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/2.469, allocations: 3.938 kB / 1.11 GB, free: 145 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.166e-05/2.47, allocations: 51.36 kB / 1.11 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/2.47, allocations: 181.5 kB / 1.11 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/2.472, allocations: 0.5153 MB / 1.111 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/2.472, allocations: 0.8412 MB / 1.112 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of SimCode: time 4e-07/2.472, allocations: 0 / 1.112 GB, free: 143.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)