Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.025/2.025, allocations: 387.2 MB / 394.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 183.8 kB / 487 MB, free: 5.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.3 MB / 0.7819 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009296/0.0009295, allocations: 100.2 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5512/0.5521, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.8092, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8873/1.697, allocations: 406.2 MB / 1.602 GB, free: 1.359 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/1.697, allocations: 88.14 kB / 1.602 GB, free: 1.316 MB / 1.026 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.2639/1.961, allocations: 107.2 MB / 1.707 GB, free: 13.55 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.961, allocations: 12 kB / 1.707 GB, free: 13.54 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003127/1.961, allocations: 47.53 kB / 1.707 GB, free: 13.49 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02348/1.985, allocations: 6.835 MB / 1.714 GB, free: 6.559 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/1.985, allocations: 8 kB / 1.714 GB, free: 6.551 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/1.985, allocations: 23.91 kB / 1.714 GB, free: 6.527 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003607/1.985, allocations: 145 kB / 1.714 GB, free: 6.383 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/1.986, allocations: 244.3 kB / 1.714 GB, free: 6.121 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/1.986, allocations: 0 / 1.714 GB, free: 6.121 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/1.986, allocations: 7.984 kB / 1.714 GB, free: 6.113 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/1.986, allocations: 8 kB / 1.714 GB, free: 6.105 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/1.987, allocations: 1.43 MB / 1.715 GB, free: 4.562 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/1.988, allocations: 118.6 kB / 1.715 GB, free: 4.438 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.151e-05/1.988, allocations: 48.86 kB / 1.715 GB, free: 4.387 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/1.988, allocations: 93.03 kB / 1.716 GB, free: 4.277 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/1.988, allocations: 95.38 kB / 1.716 GB, free: 4.172 MB / 1.135 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/1.988, allocations: 0 / 1.716 GB, free: 4.172 MB / 1.135 GB Notification: Performance of matching and sorting (n=15): time 0.0003088/1.988, allocations: 140.3 kB / 1.716 GB, free: 4.031 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/1.988, allocations: 55.41 kB / 1.716 GB, free: 3.965 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/1.989, allocations: 279.5 kB / 1.716 GB, free: 3.684 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/1.989, allocations: 25.7 kB / 1.716 GB, free: 3.652 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/1.989, allocations: 187.8 kB / 1.716 GB, free: 3.465 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/1.989, allocations: 51.3 kB / 1.716 GB, free: 3.414 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/1.989, allocations: 0 / 1.716 GB, free: 3.414 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.989, allocations: 342.8 kB / 1.717 GB, free: 3.07 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.095e-05/1.989, allocations: 51.98 kB / 1.717 GB, free: 3.02 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/1.989, allocations: 126.4 kB / 1.717 GB, free: 2.863 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/1.989, allocations: 78.66 kB / 1.717 GB, free: 2.789 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.989, allocations: 0 / 1.717 GB, free: 2.789 MB / 1.135 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000385/1.99, allocations: 221 kB / 1.717 GB, free: 2.566 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.99, allocations: 11.98 kB / 1.717 GB, free: 2.555 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.99, allocations: 0 / 1.717 GB, free: 2.555 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/1.99, allocations: 4 kB / 1.717 GB, free: 2.551 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/1.99, allocations: 64.22 kB / 1.717 GB, free: 2.488 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.99, allocations: 7.938 kB / 1.717 GB, free: 2.48 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/1.99, allocations: 35.73 kB / 1.717 GB, free: 2.445 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/1.991, allocations: 12 kB / 1.717 GB, free: 2.434 MB / 1.135 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 8.275e-05/1.991, allocations: 108.9 kB / 1.717 GB, free: 2.32 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/1.991, allocations: 35.61 kB / 1.717 GB, free: 2.285 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/1.991, allocations: 144.5 kB / 1.718 GB, free: 2.141 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.991, allocations: 4 kB / 1.718 GB, free: 2.137 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/1.991, allocations: 3.938 kB / 1.718 GB, free: 2.133 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003883/1.991, allocations: 451.7 kB / 1.718 GB, free: 1.605 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/1.992, allocations: 305.9 kB / 1.718 GB, free: 1.27 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.992, allocations: 3.938 kB / 1.718 GB, free: 1.266 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/1.992, allocations: 39.97 kB / 1.718 GB, free: 1.227 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/1.992, allocations: 0 / 1.718 GB, free: 1.227 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/1.992, allocations: 4 kB / 1.718 GB, free: 1.223 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.992, allocations: 0 / 1.718 GB, free: 1.223 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.992, allocations: 3.906 kB / 1.718 GB, free: 1.219 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003392/1.992, allocations: 232 kB / 1.719 GB, free: 0.9766 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004904/1.993, allocations: 0.6559 MB / 1.719 GB, free: 308 kB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/1.993, allocations: 128.7 kB / 1.719 GB, free: 160 kB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/1.993, allocations: 4 kB / 1.719 GB, free: 156 kB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/1.993, allocations: 19.98 kB / 1.719 GB, free: 136 kB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/1.993, allocations: 19.97 kB / 1.719 GB, free: 116 kB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/1.993, allocations: 7.984 kB / 1.719 GB, free: 108 kB / 1.135 GB Notification: Performance of sort global known variables: time 0.4052/2.399, allocations: 213.4 kB / 1.72 GB, free: 406.2 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001388/2.4, allocations: 157.7 kB / 1.72 GB, free: 406.2 MB / 1.135 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.0003735/2.4, allocations: 242.8 kB / 1.72 GB, free: 406.1 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0002776/2.401, allocations: 151.6 kB / 1.72 GB, free: 406.1 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/2.401, allocations: 7.656 kB / 1.72 GB, free: 406.1 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 8.13e-05/2.401, allocations: 51.05 kB / 1.72 GB, free: 406.1 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/2.402, allocations: 178.2 kB / 1.72 GB, free: 406.1 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009327/2.403, allocations: 0.5276 MB / 1.721 GB, free: 406 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/2.403, allocations: 0.8404 MB / 1.722 GB, free: 405.2 MB / 1.135 GB Notification: Performance of SimCode: time 3.21e-07/2.403, allocations: 3.375 kB / 1.722 GB, free: 405.2 MB / 1.135 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)