Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.MassFraction_pTphi,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.976/1.976, allocations: 248.6 MB / 255.9 MB, free: 7.176 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.00162/0.00162, allocations: 183.5 kB / 315.1 MB, free: 4.246 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.702/1.702, allocations: 205.1 MB / 0.5658 GB, free: 292 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.001213/0.001212, allocations: 91.33 kB / 0.67 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4076/0.4089, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.5917, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.812/5.403, allocations: 2.188 GB / 3.071 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/5.404, allocations: 87.38 kB / 3.071 GB, free: 181.1 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.2003/5.604, allocations: 65.77 MB / 3.136 GB, free: 122 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/5.604, allocations: 15.94 kB / 3.136 GB, free: 122 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/5.606, allocations: 95.67 kB / 3.136 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/5.606, allocations: 206.9 kB / 3.136 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/5.606, allocations: 0 / 3.136 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/5.606, allocations: 4 kB / 3.136 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002641/5.606, allocations: 71.92 kB / 3.136 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/5.607, allocations: 100.9 kB / 3.136 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/5.607, allocations: 0 / 3.136 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/5.607, allocations: 0 / 3.136 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/5.607, allocations: 8 kB / 3.136 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009875/5.608, allocations: 373 kB / 3.137 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/5.608, allocations: 191.8 kB / 3.137 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/5.608, allocations: 45 kB / 3.137 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/5.608, allocations: 7.984 kB / 3.137 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/5.608, allocations: 34.56 kB / 3.137 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/5.608, allocations: 0 / 3.137 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0003437/5.609, allocations: 105.4 kB / 3.137 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/5.609, allocations: 51.41 kB / 3.137 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/5.609, allocations: 116.4 kB / 3.137 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/5.609, allocations: 25.7 kB / 3.137 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/5.609, allocations: 100.1 kB / 3.137 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/5.609, allocations: 23.66 kB / 3.137 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/5.609, allocations: 3.938 kB / 3.137 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.022e-05/5.609, allocations: 322.8 kB / 3.138 GB, free: 120 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/5.609, allocations: 23.98 kB / 3.138 GB, free: 120 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/5.609, allocations: 54.64 kB / 3.138 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.08e-05/5.609, allocations: 27.97 kB / 3.138 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/5.609, allocations: 0 / 3.138 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002635/5.61, allocations: 105.4 kB / 3.138 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/5.61, allocations: 8 kB / 3.138 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/5.61, allocations: 0 / 3.138 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/5.61, allocations: 0 / 3.138 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/5.61, allocations: 36 kB / 3.138 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/5.61, allocations: 0 / 3.138 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/5.61, allocations: 27.97 kB / 3.138 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/5.61, allocations: 4 kB / 3.138 GB, free: 119.7 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 (8): * Single equations (assignments): 8 * 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 6.798e-05/5.611, allocations: 104.9 kB / 3.138 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/5.611, allocations: 7.906 kB / 3.138 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.352e-05/5.611, allocations: 28.42 kB / 3.138 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/5.611, allocations: 0 / 3.138 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/5.611, allocations: 0 / 3.138 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/5.611, allocations: 0 / 3.138 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006053/5.611, allocations: 382.9 kB / 3.138 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/5.611, allocations: 0 / 3.138 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/5.612, allocations: 39.97 kB / 3.138 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/5.612, allocations: 3.906 kB / 3.138 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/5.612, allocations: 0 / 3.138 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/5.612, allocations: 0 / 3.138 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/5.612, allocations: 4 kB / 3.138 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002966/5.612, allocations: 207.3 kB / 3.139 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000416/5.613, allocations: 0.5818 MB / 3.139 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/5.613, allocations: 88.95 kB / 3.139 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/5.613, allocations: 0 / 3.139 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/5.613, allocations: 23.98 kB / 3.139 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/5.613, allocations: 11.89 kB / 3.139 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/5.613, allocations: 3.984 kB / 3.139 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.054e-05/5.613, allocations: 95.28 kB / 3.139 GB, free: 118 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001465/5.615, allocations: 119.9 kB / 3.139 GB, free: 117.9 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 (8): * Single equations (assignments): 8 * 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.0009674/5.616, allocations: 0.7463 MB / 3.14 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002615/5.616, allocations: 71.91 kB / 3.14 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/5.616, allocations: 4 kB / 3.14 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/5.616, allocations: 35.98 kB / 3.14 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/5.616, allocations: 23.83 kB / 3.14 GB, free: 117 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/5.617, allocations: 167.2 kB / 3.14 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/5.617, allocations: 0.7309 MB / 3.141 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of SimCode: time 7.71e-07/5.617, allocations: 0 / 3.141 GB, free: 116.1 MB / 0.8698 GB