Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.92/1.92, allocations: 248.6 MB / 255.9 MB, free: 7.078 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.00161/0.001609, allocations: 182.4 kB / 315.1 MB, free: 4.254 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.661/1.661, allocations: 205.1 MB / 0.5658 GB, free: 288 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.001265/0.001264, allocations: 79.34 kB / 0.67 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4031/0.4044, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.5811, allocations: 106.3 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.86/5.441, allocations: 2.173 GB / 3.057 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/5.441, allocations: 87 kB / 3.057 GB, free: 195.5 MB / 0.8698 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.09053/5.532, allocations: 26.41 MB / 3.083 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/5.532, allocations: 8 kB / 3.083 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007326/5.533, allocations: 39.94 kB / 3.083 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.83e-05/5.533, allocations: 163 kB / 3.083 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/5.533, allocations: 4 kB / 3.083 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/5.533, allocations: 0 / 3.083 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.935e-05/5.533, allocations: 15.61 kB / 3.083 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.543e-05/5.533, allocations: 41.67 kB / 3.083 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/5.533, allocations: 0 / 3.083 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/5.533, allocations: 0 / 3.083 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/5.533, allocations: 0 / 3.083 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/5.533, allocations: 229 kB / 3.083 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/5.533, allocations: 22.33 kB / 3.083 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/5.533, allocations: 8.922 kB / 3.083 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/5.533, allocations: 0 / 3.083 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/5.533, allocations: 41.81 kB / 3.083 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/5.533, allocations: 0 / 3.083 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001377/5.534, allocations: 33.7 kB / 3.083 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/5.534, allocations: 51.41 kB / 3.083 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.696e-05/5.534, allocations: 104.4 kB / 3.083 GB, free: 173 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/5.534, allocations: 25.7 kB / 3.083 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/5.534, allocations: 87.45 kB / 3.084 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-06/5.534, allocations: 11.84 kB / 3.084 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/5.534, allocations: 0 / 3.084 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.26e-05/5.534, allocations: 314.8 kB / 3.084 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/5.534, allocations: 11.53 kB / 3.084 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/5.534, allocations: 4 kB / 3.084 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/5.534, allocations: 7.984 kB / 3.084 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/5.534, allocations: 0 / 3.084 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001474/5.534, allocations: 53.25 kB / 3.084 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/5.534, allocations: 4 kB / 3.084 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/5.534, allocations: 0 / 3.084 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/5.534, allocations: 4.031 kB / 3.084 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/5.534, allocations: 15.92 kB / 3.084 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/5.534, allocations: 0 / 3.084 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/5.535, allocations: 11.98 kB / 3.084 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/5.535, allocations: 7.984 kB / 3.084 GB, free: 172.4 MB / 0.8698 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 (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 prepare postOptimizeDAE: time 5.236e-05/5.535, allocations: 101 kB / 3.084 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/5.535, allocations: 3.906 kB / 3.084 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/5.535, allocations: 15.25 kB / 3.084 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/5.535, allocations: 0 / 3.084 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/5.535, allocations: 0 / 3.084 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/5.535, allocations: 8 kB / 3.084 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/5.535, allocations: 133.8 kB / 3.084 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/5.535, allocations: 3.906 kB / 3.084 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/5.535, allocations: 0 / 3.084 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/5.535, allocations: 4 kB / 3.084 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/5.535, allocations: 0 / 3.084 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/5.535, allocations: 0 / 3.084 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/5.535, allocations: 0 / 3.084 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.638e-05/5.535, allocations: 143 kB / 3.084 GB, free: 172 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002135/5.535, allocations: 0.5149 MB / 3.085 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/5.536, allocations: 85 kB / 3.085 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/5.536, allocations: 0 / 3.085 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/5.536, allocations: 4 kB / 3.085 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/5.536, allocations: 3.984 kB / 3.085 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/5.536, allocations: 4.062 kB / 3.085 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.172e-05/5.536, allocations: 86.78 kB / 3.085 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001366/5.537, allocations: 92.8 kB / 3.085 GB, free: 171.2 MB / 0.8698 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 (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 Backend phase and start with SimCode phase: time 0.0008808/5.538, allocations: 0.6583 MB / 3.086 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001046/5.538, allocations: 19.92 kB / 3.086 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/5.538, allocations: 4 kB / 3.086 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/5.538, allocations: 4 kB / 3.086 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/5.539, allocations: 10.14 kB / 3.086 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/5.539, allocations: 55.8 kB / 3.086 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/5.539, allocations: 0.6957 MB / 3.087 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of SimCode: time 6.41e-07/5.539, allocations: 0 / 3.087 GB, free: 169.7 MB / 0.8698 GB