Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.276/2.276, allocations: 248.6 MB / 255.9 MB, free: 7.102 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.002502/0.002502, allocations: 184.7 kB / 315.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.1 MB / 0.5658 GB, free: 320 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.002532/0.002532, allocations: 90.69 kB / 0.67 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5168/0.5194, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.7515, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.6/2.352, allocations: 400.8 MB / 1.275 GB, free: 248 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/2.352, allocations: 66.81 kB / 1.275 GB, free: 248 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.08754/2.44, allocations: 18.74 MB / 1.293 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/2.44, allocations: 7.812 kB / 1.293 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/2.44, allocations: 3.906 kB / 1.293 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/2.44, allocations: 164.1 kB / 1.293 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/2.44, allocations: 8 kB / 1.293 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/2.44, allocations: 4.422 kB / 1.293 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001193/2.44, allocations: 22.92 kB / 1.293 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/2.441, allocations: 46.55 kB / 1.294 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/2.441, allocations: 0 / 1.294 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/2.441, allocations: 0.8438 kB / 1.294 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/2.441, allocations: 3.984 kB / 1.294 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/2.441, allocations: 142 kB / 1.294 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/2.441, allocations: 35.83 kB / 1.294 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.325e-05/2.441, allocations: 16.81 kB / 1.294 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008365/2.442, allocations: 0.6124 MB / 1.294 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/2.442, allocations: 34.94 kB / 1.294 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 2.825e-06/2.442, allocations: 3.938 kB / 1.294 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006575/2.443, allocations: 281.8 kB / 1.295 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/2.443, allocations: 55.31 kB / 1.295 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.604e-05/2.443, allocations: 90.34 kB / 1.295 GB, free: 244.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/2.443, allocations: 29.61 kB / 1.295 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/2.443, allocations: 84.56 kB / 1.295 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/2.443, allocations: 25.97 kB / 1.295 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/2.443, allocations: 0 / 1.295 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.424e-05/2.443, allocations: 320.1 kB / 1.295 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.145e-05/2.443, allocations: 7.812 kB / 1.295 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/2.443, allocations: 50.33 kB / 1.295 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.073e-05/2.443, allocations: 14.06 kB / 1.295 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/2.443, allocations: 7.906 kB / 1.295 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001673/2.443, allocations: 79.16 kB / 1.295 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/2.443, allocations: 8.688 kB / 1.295 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/2.443, allocations: 0 / 1.295 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/2.443, allocations: 3.938 kB / 1.295 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/2.444, allocations: 25.31 kB / 1.295 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/2.444, allocations: 0.9844 kB / 1.295 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/2.444, allocations: 7.812 kB / 1.295 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/2.444, allocations: 3.938 kB / 1.295 GB, free: 243.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.637e-05/2.444, allocations: 109.5 kB / 1.295 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/2.444, allocations: 3.938 kB / 1.295 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/2.444, allocations: 8.812 kB / 1.295 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/2.444, allocations: 0 / 1.295 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/2.444, allocations: 3.844 kB / 1.295 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/2.444, allocations: 0.6562 kB / 1.295 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/2.444, allocations: 148.7 kB / 1.296 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/2.444, allocations: 0 / 1.296 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/2.445, allocations: 25.97 kB / 1.296 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/2.445, allocations: 4 kB / 1.296 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/2.445, allocations: 4.75 kB / 1.296 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/2.445, allocations: 3.938 kB / 1.296 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/2.445, allocations: 0 / 1.296 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000212/2.445, allocations: 167.4 kB / 1.296 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003955/2.445, allocations: 0.5554 MB / 1.296 GB, free: 242.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/2.445, allocations: 83.42 kB / 1.296 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/2.445, allocations: 0 / 1.296 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/2.446, allocations: 4.781 kB / 1.296 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/2.446, allocations: 5.781 kB / 1.296 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/2.446, allocations: 4.391 kB / 1.296 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.948e-05/2.446, allocations: 83.64 kB / 1.297 GB, free: 242.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001174/2.447, allocations: 20.03 kB / 1.297 GB, free: 242.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002903/2.447, allocations: 143.6 kB / 1.297 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001586/2.447, allocations: 35.45 kB / 1.297 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/2.447, allocations: 0 / 1.297 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.413e-05/2.447, allocations: 16.19 kB / 1.297 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/2.448, allocations: 4.453 kB / 1.297 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007451/2.448, allocations: 258.5 kB / 1.297 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/2.449, allocations: 0.7026 MB / 1.298 GB, free: 241.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.032e-06/2.449, allocations: 3.938 kB / 1.298 GB, free: 241.7 MB / 0.8542 GB