Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.181/2.181, allocations: 248.6 MB / 255.9 MB, free: 7.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.00159, allocations: 175.5 kB / 315.1 MB, free: 4.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.1 MB / 0.5658 GB, free: 264 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001317/0.001316, allocations: 95.27 kB / 0.67 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4752/0.4766, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.6971, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.393/2.09, allocations: 387.6 MB / 1.262 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/2.091, allocations: 85.55 kB / 1.262 GB, free: 249.8 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.341/2.432, allocations: 101.4 MB / 1.361 GB, free: 210.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/2.432, allocations: 8 kB / 1.361 GB, free: 210.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/2.432, allocations: 47.47 kB / 1.361 GB, free: 210.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02147/2.453, allocations: 6.508 MB / 1.367 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/2.453, allocations: 12 kB / 1.367 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-05/2.454, allocations: 16 kB / 1.367 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004901/2.454, allocations: 141 kB / 1.368 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/2.455, allocations: 236.4 kB / 1.368 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/2.455, allocations: 11.84 kB / 1.368 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/2.455, allocations: 0 / 1.368 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/2.455, allocations: 19.98 kB / 1.368 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/2.457, allocations: 1.422 MB / 1.369 GB, free: 201.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/2.458, allocations: 110.7 kB / 1.369 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/2.458, allocations: 44.86 kB / 1.369 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/2.458, allocations: 97.09 kB / 1.37 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/2.458, allocations: 98.83 kB / 1.37 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 3.366e-06/2.458, allocations: 0 / 1.37 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0005025/2.459, allocations: 133.2 kB / 1.37 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/2.459, allocations: 59.41 kB / 1.37 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004117/2.459, allocations: 267.5 kB / 1.37 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/2.459, allocations: 29.69 kB / 1.37 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/2.459, allocations: 187.8 kB / 1.37 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.597e-05/2.459, allocations: 51.2 kB / 1.37 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/2.459, allocations: 0 / 1.37 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.374e-05/2.459, allocations: 338.8 kB / 1.371 GB, free: 200.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/2.46, allocations: 51.98 kB / 1.371 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/2.46, allocations: 129.4 kB / 1.371 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/2.46, allocations: 78.14 kB / 1.371 GB, free: 200 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/2.46, allocations: 4 kB / 1.371 GB, free: 200 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006584/2.461, allocations: 217.1 kB / 1.371 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/2.461, allocations: 7.984 kB / 1.371 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/2.461, allocations: 0 / 1.371 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/2.461, allocations: 8 kB / 1.371 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/2.461, allocations: 64.22 kB / 1.371 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/2.461, allocations: 4 kB / 1.371 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/2.462, allocations: 31.73 kB / 1.371 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/2.462, allocations: 15.94 kB / 1.371 GB, free: 199.6 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.0001588/2.462, allocations: 120.8 kB / 1.371 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/2.462, allocations: 39.55 kB / 1.371 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005311/2.463, allocations: 148.2 kB / 1.372 GB, free: 199.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/2.463, allocations: 4 kB / 1.372 GB, free: 199.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/2.463, allocations: 0 / 1.372 GB, free: 199.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003622/2.463, allocations: 443.7 kB / 1.372 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006965/2.464, allocations: 301.9 kB / 1.372 GB, free: 198.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/2.464, allocations: 4 kB / 1.372 GB, free: 198.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/2.464, allocations: 39.92 kB / 1.372 GB, free: 198.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/2.464, allocations: 0 / 1.372 GB, free: 198.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/2.464, allocations: 7.984 kB / 1.372 GB, free: 198.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/2.464, allocations: 4 kB / 1.372 GB, free: 198.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/2.464, allocations: 0 / 1.372 GB, free: 198.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006149/2.465, allocations: 227.7 kB / 1.372 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007243/2.466, allocations: 0.6534 MB / 1.373 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/2.466, allocations: 124.9 kB / 1.373 GB, free: 197.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/2.466, allocations: 7.984 kB / 1.373 GB, free: 197.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/2.467, allocations: 24.2 kB / 1.373 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/2.467, allocations: 23.86 kB / 1.373 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/2.467, allocations: 4 kB / 1.373 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0003557/2.467, allocations: 219.1 kB / 1.374 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001715/2.469, allocations: 148 kB / 1.374 GB, free: 196.9 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.0006294/2.47, allocations: 228.3 kB / 1.374 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005036/2.47, allocations: 168.6 kB / 1.374 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/2.47, allocations: 0 / 1.374 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/2.47, allocations: 51.94 kB / 1.374 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/2.472, allocations: 182.7 kB / 1.374 GB, free: 196.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/2.474, allocations: 0.5231 MB / 1.375 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004908/2.474, allocations: 0.8415 MB / 1.376 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.372e-06/2.474, allocations: 0 / 1.376 GB, free: 194.9 MB / 0.8542 GB