Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.307/2.307, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001678/0.001677, allocations: 173.3 kB / 360.3 MB, free: 7.555 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.781/1.781, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001223/0.001223, allocations: 87.97 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2918/0.293, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6857/0.9788, allocations: 115.2 MB / 0.9627 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9902/1.969, allocations: 394.2 MB / 1.348 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/1.969, allocations: 85.55 kB / 1.348 GB, free: 173.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.3305/2.3, allocations: 104.2 MB / 1.449 GB, free: 83.81 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/2.3, allocations: 8.5 kB / 1.449 GB, free: 83.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/2.3, allocations: 52.31 kB / 1.45 GB, free: 83.75 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02197/2.322, allocations: 6.678 MB / 1.456 GB, free: 76.98 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/2.322, allocations: 11.94 kB / 1.456 GB, free: 76.97 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/2.322, allocations: 16 kB / 1.456 GB, free: 76.96 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004868/2.323, allocations: 138.4 kB / 1.456 GB, free: 76.82 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/2.324, allocations: 244.3 kB / 1.456 GB, free: 76.56 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/2.324, allocations: 4 kB / 1.456 GB, free: 76.56 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/2.324, allocations: 0 / 1.456 GB, free: 76.56 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/2.324, allocations: 12 kB / 1.456 GB, free: 76.55 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/2.326, allocations: 1.438 MB / 1.458 GB, free: 75 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/2.326, allocations: 106.7 kB / 1.458 GB, free: 74.88 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/2.327, allocations: 52.83 kB / 1.458 GB, free: 74.83 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/2.327, allocations: 93.05 kB / 1.458 GB, free: 74.72 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/2.327, allocations: 98.19 kB / 1.458 GB, free: 74.61 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 3.216e-06/2.327, allocations: 0 / 1.458 GB, free: 74.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004643/2.327, allocations: 141.2 kB / 1.458 GB, free: 74.47 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/2.327, allocations: 51.41 kB / 1.458 GB, free: 74.41 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/2.328, allocations: 275.5 kB / 1.459 GB, free: 74.13 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/2.328, allocations: 25.7 kB / 1.459 GB, free: 74.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/2.328, allocations: 187.8 kB / 1.459 GB, free: 73.91 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/2.328, allocations: 51.3 kB / 1.459 GB, free: 73.86 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/2.328, allocations: 0 / 1.459 GB, free: 73.86 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.439e-05/2.328, allocations: 346.7 kB / 1.459 GB, free: 73.51 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/2.328, allocations: 44 kB / 1.459 GB, free: 73.46 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/2.329, allocations: 133.4 kB / 1.459 GB, free: 73.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/2.329, allocations: 72.77 kB / 1.459 GB, free: 73.23 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/2.329, allocations: 4 kB / 1.459 GB, free: 73.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006012/2.33, allocations: 224.2 kB / 1.46 GB, free: 73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/2.33, allocations: 11.94 kB / 1.46 GB, free: 72.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/2.33, allocations: 0.5 kB / 1.46 GB, free: 72.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/2.33, allocations: 4 kB / 1.46 GB, free: 72.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/2.33, allocations: 64.22 kB / 1.46 GB, free: 72.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/2.33, allocations: 7.938 kB / 1.46 GB, free: 72.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/2.331, allocations: 36.47 kB / 1.46 GB, free: 72.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/2.331, allocations: 16 kB / 1.46 GB, free: 72.87 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 0.0001141/2.331, allocations: 116.6 kB / 1.46 GB, free: 72.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/2.331, allocations: 31.62 kB / 1.46 GB, free: 72.71 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/2.331, allocations: 140.4 kB / 1.46 GB, free: 72.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/2.331, allocations: 4 kB / 1.46 GB, free: 72.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/2.331, allocations: 0 / 1.46 GB, free: 72.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003419/2.332, allocations: 446.8 kB / 1.461 GB, free: 72.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/2.332, allocations: 314.4 kB / 1.461 GB, free: 71.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/2.332, allocations: 0 / 1.461 GB, free: 71.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/2.333, allocations: 39.91 kB / 1.461 GB, free: 71.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/2.333, allocations: 0 / 1.461 GB, free: 71.67 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/2.333, allocations: 0.625 kB / 1.461 GB, free: 71.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/2.333, allocations: 3.906 kB / 1.461 GB, free: 71.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/2.333, allocations: 4 kB / 1.461 GB, free: 71.66 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004981/2.333, allocations: 224.6 kB / 1.461 GB, free: 71.42 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006676/2.334, allocations: 0.6618 MB / 1.462 GB, free: 70.74 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/2.334, allocations: 128.7 kB / 1.462 GB, free: 70.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.698e-05/2.334, allocations: 0 / 1.462 GB, free: 70.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/2.335, allocations: 28.19 kB / 1.462 GB, free: 70.57 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.795e-05/2.335, allocations: 11.98 kB / 1.462 GB, free: 70.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/2.335, allocations: 12.67 kB / 1.462 GB, free: 70.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0003024/2.335, allocations: 207.1 kB / 1.462 GB, free: 70.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001519/2.337, allocations: 147.9 kB / 1.462 GB, free: 70.2 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.0004855/2.337, allocations: 249.6 kB / 1.462 GB, free: 69.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004214/2.338, allocations: 161.6 kB / 1.463 GB, free: 69.78 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/2.338, allocations: 3.938 kB / 1.463 GB, free: 69.78 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/2.338, allocations: 55.22 kB / 1.463 GB, free: 69.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/2.339, allocations: 164 kB / 1.463 GB, free: 69.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/2.341, allocations: 0.5257 MB / 1.463 GB, free: 69.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/2.341, allocations: 0.8377 MB / 1.464 GB, free: 68.16 MB / 0.8542 GB Notification: Performance of SimCode: time 1.603e-06/2.341, allocations: 0 / 1.464 GB, free: 68.16 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)