Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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 1.902/1.902, allocations: 248.6 MB / 255.9 MB, free: 1.215 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001628/0.001628, allocations: 171 kB / 315.1 MB, free: 9.641 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 0.5658 GB, free: 14.18 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 86.58 kB / 0.6699 GB, free: 51.89 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2225/0.2238, allocations: 112.4 MB / 0.7797 GB, free: 10.7 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.4449, allocations: 106.2 MB / 0.8835 GB, free: 344 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5175/0.9625, allocations: 131.1 MB / 1.012 GB, free: 15.61 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.9628, allocations: 75.95 kB / 1.012 GB, free: 15.54 MB / 0.659 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004593/0.9674, allocations: 0.997 MB / 1.013 GB, free: 14.53 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.9675, allocations: 9.25 kB / 1.013 GB, free: 14.52 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.9676, allocations: 8.75 kB / 1.013 GB, free: 14.52 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.9678, allocations: 167.1 kB / 1.013 GB, free: 14.32 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.9678, allocations: 4.656 kB / 1.013 GB, free: 14.31 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.9678, allocations: 1.031 kB / 1.013 GB, free: 14.31 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.907e-05/0.9679, allocations: 12.5 kB / 1.013 GB, free: 14.3 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.028e-05/0.968, allocations: 42.59 kB / 1.013 GB, free: 14.25 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.9681, allocations: 3.703 kB / 1.013 GB, free: 14.25 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.9681, allocations: 0.5 kB / 1.013 GB, free: 14.25 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.9681, allocations: 0 / 1.013 GB, free: 14.25 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.9685, allocations: 228.6 kB / 1.013 GB, free: 14 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 6.044e-05/0.9685, allocations: 18.58 kB / 1.013 GB, free: 13.97 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.9686, allocations: 12.92 kB / 1.013 GB, free: 13.95 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.9686, allocations: 3.938 kB / 1.013 GB, free: 13.95 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.9687, allocations: 35.41 kB / 1.013 GB, free: 13.91 MB / 0.659 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.9687, allocations: 2.844 kB / 1.013 GB, free: 13.91 MB / 0.659 GB Notification: Performance of matching and sorting (n=2): time 0.0001677/0.9689, allocations: 42.78 kB / 1.013 GB, free: 13.86 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.9689, allocations: 51.41 kB / 1.013 GB, free: 13.8 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.124e-05/0.969, allocations: 89.94 kB / 1.013 GB, free: 13.7 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.969, allocations: 25.7 kB / 1.013 GB, free: 13.67 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.9691, allocations: 94.27 kB / 1.013 GB, free: 13.58 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.9691, allocations: 3.984 kB / 1.013 GB, free: 13.57 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.9691, allocations: 0 / 1.013 GB, free: 13.57 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.9693, allocations: 318.8 kB / 1.014 GB, free: 13.25 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.9693, allocations: 4 kB / 1.014 GB, free: 13.25 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.9693, allocations: 6.844 kB / 1.014 GB, free: 13.25 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.636e-05/0.9694, allocations: 7.172 kB / 1.014 GB, free: 13.24 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.9694, allocations: 0 / 1.014 GB, free: 13.24 MB / 0.659 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001499/0.9695, allocations: 45.62 kB / 1.014 GB, free: 13.19 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.9696, allocations: 9.875 kB / 1.014 GB, free: 13.18 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.9696, allocations: 3.938 kB / 1.014 GB, free: 13.18 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.9696, allocations: 2.469 kB / 1.014 GB, free: 13.18 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.9698, allocations: 8 kB / 1.014 GB, free: 13.18 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9698, allocations: 3.984 kB / 1.014 GB, free: 13.17 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.9699, allocations: 13.56 kB / 1.014 GB, free: 13.16 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.9699, allocations: 0 / 1.014 GB, free: 13.16 MB / 0.659 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.733e-05/0.97, allocations: 101.7 kB / 1.014 GB, free: 13.05 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.97, allocations: 12.12 kB / 1.014 GB, free: 13.04 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.9702, allocations: 59.34 kB / 1.014 GB, free: 12.98 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9702, allocations: 1.125 kB / 1.014 GB, free: 12.98 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.9703, allocations: 4 kB / 1.014 GB, free: 12.98 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.9703, allocations: 0 / 1.014 GB, free: 12.98 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.9704, allocations: 138.2 kB / 1.014 GB, free: 12.81 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.9705, allocations: 0 / 1.014 GB, free: 12.81 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.9706, allocations: 15.98 kB / 1.014 GB, free: 12.79 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.9706, allocations: 4 kB / 1.014 GB, free: 12.79 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.9706, allocations: 0 / 1.014 GB, free: 12.79 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.9706, allocations: 0 / 1.014 GB, free: 12.79 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.9707, allocations: 3.906 kB / 1.014 GB, free: 12.79 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001624/0.9708, allocations: 135.5 kB / 1.014 GB, free: 12.64 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003402/0.9712, allocations: 0.5188 MB / 1.015 GB, free: 12.1 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.9712, allocations: 82.7 kB / 1.015 GB, free: 12 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.9713, allocations: 7.891 kB / 1.015 GB, free: 12 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.9714, allocations: 4 kB / 1.015 GB, free: 11.99 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.9715, allocations: 7.984 kB / 1.015 GB, free: 11.98 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.9715, allocations: 11.17 kB / 1.015 GB, free: 11.98 MB / 0.659 GB Notification: Performance of sort global known variables: time 4.825e-05/0.9716, allocations: 79.89 kB / 1.015 GB, free: 11.9 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.001085/0.9727, allocations: 4 kB / 1.015 GB, free: 11.89 MB / 0.659 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001283/0.9728, allocations: 95.25 kB / 1.015 GB, free: 11.79 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 9.317e-05/0.9729, allocations: 12 kB / 1.015 GB, free: 11.78 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.9729, allocations: 0 / 1.015 GB, free: 11.78 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 4.456e-05/0.973, allocations: 15.94 kB / 1.015 GB, free: 11.77 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.9732, allocations: 9.359 kB / 1.015 GB, free: 11.76 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.9735, allocations: 71.14 kB / 1.015 GB, free: 11.67 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/0.9739, allocations: 0.688 MB / 1.016 GB, free: 10.95 MB / 0.659 GB Notification: Performance of SimCode: time 7.41e-07/0.9739, allocations: 1.219 kB / 1.016 GB, free: 10.95 MB / 0.659 GB