Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.113/2.113, allocations: 253.1 MB / 260.4 MB, free: 11.8 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001601/0.0016, allocations: 177.8 kB / 319.6 MB, free: 2.316 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.4 MB / 0.5704 GB, free: 8.363 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001305/0.001304, allocations: 113.1 kB / 0.6746 GB, free: 21.86 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.037e-05, allocations: 4 kB / 0.7843 GB, free: 5.465 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5293, allocations: 106.2 MB / 0.888 GB, free: 64.57 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8673/1.397, allocations: 335.6 MB / 1.216 GB, free: 106.1 MB / 0.753 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/1.397, allocations: 77.92 kB / 1.216 GB, free: 106 MB / 0.753 GB Notification: Performance of FrontEnd: time 0.02522/1.422, allocations: 7.4 MB / 1.223 GB, free: 100.2 MB / 0.753 GB Notification: Performance of Transformations before backend: time 8.305e-06/1.422, allocations: 0 / 1.223 GB, free: 100.2 MB / 0.753 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.0003519/1.423, allocations: 348.8 kB / 1.223 GB, free: 99.79 MB / 0.753 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.423, allocations: 15.91 kB / 1.223 GB, free: 99.77 MB / 0.753 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/1.423, allocations: 6.375 kB / 1.223 GB, free: 99.77 MB / 0.753 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/1.423, allocations: 167.1 kB / 1.224 GB, free: 99.56 MB / 0.753 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/1.423, allocations: 29.69 kB / 1.224 GB, free: 99.53 MB / 0.753 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/1.423, allocations: 0 / 1.224 GB, free: 99.53 MB / 0.753 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.226e-05/1.423, allocations: 18.72 kB / 1.224 GB, free: 99.51 MB / 0.753 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.081e-05/1.423, allocations: 33.69 kB / 1.224 GB, free: 99.47 MB / 0.753 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.423, allocations: 0 / 1.224 GB, free: 99.47 MB / 0.753 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/1.423, allocations: 4 kB / 1.224 GB, free: 99.47 MB / 0.753 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/1.423, allocations: 4 kB / 1.224 GB, free: 99.46 MB / 0.753 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006485/1.424, allocations: 0.578 MB / 1.224 GB, free: 98.79 MB / 0.753 GB Notification: Performance of preOpt comSubExp (simulation): time 3.067e-05/1.424, allocations: 14.58 kB / 1.224 GB, free: 98.77 MB / 0.753 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/1.424, allocations: 8.922 kB / 1.224 GB, free: 98.75 MB / 0.753 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/1.424, allocations: 363.6 kB / 1.225 GB, free: 98.33 MB / 0.753 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/1.424, allocations: 31.5 kB / 1.225 GB, free: 98.29 MB / 0.753 GB Notification: Performance of pre-optimization done (n=1): time 2.254e-06/1.424, allocations: 0 / 1.225 GB, free: 98.29 MB / 0.753 GB Notification: Performance of matching and sorting (n=1): time 0.0002879/1.425, allocations: 43 kB / 1.225 GB, free: 98.25 MB / 0.753 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/1.425, allocations: 53.09 kB / 1.225 GB, free: 98.18 MB / 0.753 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/1.425, allocations: 102.3 kB / 1.225 GB, free: 98.08 MB / 0.753 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/1.425, allocations: 25.7 kB / 1.225 GB, free: 98.05 MB / 0.753 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/1.425, allocations: 84.05 kB / 1.225 GB, free: 97.96 MB / 0.753 GB Notification: Performance of collectInitialBindings (initialization): time 7.695e-06/1.425, allocations: 11.94 kB / 1.225 GB, free: 97.95 MB / 0.753 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/1.425, allocations: 0 / 1.225 GB, free: 97.95 MB / 0.753 GB Notification: Performance of setup shared object (initialization): time 5.89e-05/1.425, allocations: 310.8 kB / 1.225 GB, free: 97.64 MB / 0.753 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/1.425, allocations: 11.8 kB / 1.225 GB, free: 97.63 MB / 0.753 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.467e-05/1.425, allocations: 9.719 kB / 1.225 GB, free: 97.62 MB / 0.753 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/1.425, allocations: 19.98 kB / 1.225 GB, free: 97.6 MB / 0.753 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.425, allocations: 0 / 1.225 GB, free: 97.6 MB / 0.753 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002661/1.425, allocations: 64.86 kB / 1.225 GB, free: 97.53 MB / 0.753 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/1.425, allocations: 7.984 kB / 1.225 GB, free: 97.52 MB / 0.753 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.425, allocations: 7.906 kB / 1.225 GB, free: 97.52 MB / 0.753 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.426, allocations: 0 / 1.225 GB, free: 97.52 MB / 0.753 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/1.426, allocations: 4 kB / 1.225 GB, free: 97.51 MB / 0.753 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.426, allocations: 0 / 1.225 GB, free: 97.51 MB / 0.753 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/1.426, allocations: 7.938 kB / 1.225 GB, free: 97.5 MB / 0.753 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/1.426, allocations: 4 kB / 1.225 GB, free: 97.5 MB / 0.753 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 6.403e-05/1.426, allocations: 112.6 kB / 1.226 GB, free: 97.39 MB / 0.753 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/1.426, allocations: 7.906 kB / 1.226 GB, free: 97.38 MB / 0.753 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/1.426, allocations: 124.3 kB / 1.226 GB, free: 97.25 MB / 0.753 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.291e-05/1.426, allocations: 180.2 kB / 1.226 GB, free: 97.07 MB / 0.753 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.272e-05/1.426, allocations: 176.3 kB / 1.226 GB, free: 96.89 MB / 0.753 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.041e-05/1.426, allocations: 180.3 kB / 1.226 GB, free: 96.71 MB / 0.753 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/1.426, allocations: 393.6 kB / 1.227 GB, free: 96.28 MB / 0.753 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/1.426, allocations: 104.9 kB / 1.227 GB, free: 96.17 MB / 0.753 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/1.426, allocations: 109 kB / 1.227 GB, free: 96.06 MB / 0.753 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.583e-05/1.426, allocations: 184.2 kB / 1.227 GB, free: 95.87 MB / 0.753 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/1.426, allocations: 176.3 kB / 1.227 GB, free: 95.69 MB / 0.753 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.207e-05/1.426, allocations: 180.3 kB / 1.227 GB, free: 95.51 MB / 0.753 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.552e-05/1.427, allocations: 183.4 kB / 1.227 GB, free: 95.32 MB / 0.753 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.405e-05/1.427, allocations: 307.7 kB / 1.228 GB, free: 95 MB / 0.753 GB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/1.427, allocations: 190.2 kB / 1.228 GB, free: 94.79 MB / 0.753 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/1.427, allocations: 184.2 kB / 1.228 GB, free: 94.61 MB / 0.753 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/1.427, allocations: 106 kB / 1.228 GB, free: 94.5 MB / 0.753 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/1.427, allocations: 184.2 kB / 1.228 GB, free: 94.31 MB / 0.753 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/1.427, allocations: 105 kB / 1.228 GB, free: 94.2 MB / 0.753 GB Notification: Performance of sort global known variables: time 5.918e-05/1.427, allocations: 86.89 kB / 1.229 GB, free: 94.12 MB / 0.753 GB Notification: Performance of remove unused functions: time 0.0004119/1.428, allocations: 24 kB / 1.229 GB, free: 94.09 MB / 0.753 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 (0): * Single equations (assignments): 0 * 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.0003082/1.428, allocations: 234 kB / 1.229 GB, free: 93.86 MB / 0.753 GB Notification: Performance of simCode: created initialization part: time 7.831e-05/1.428, allocations: 15.94 kB / 1.229 GB, free: 93.84 MB / 0.753 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.428, allocations: 0 / 1.229 GB, free: 93.84 MB / 0.753 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/1.428, allocations: 0 / 1.229 GB, free: 93.84 MB / 0.753 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/1.428, allocations: 0.5254 MB / 1.229 GB, free: 93.31 MB / 0.753 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/1.429, allocations: 123.8 kB / 1.229 GB, free: 93.17 MB / 0.753 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/1.429, allocations: 0.6957 MB / 1.23 GB, free: 92.45 MB / 0.753 GB Notification: Performance of SimCode: time 1.433e-06/1.429, allocations: 0 / 1.23 GB, free: 92.45 MB / 0.753 GB Notification: Performance of Templates: time 0.004697/1.433, allocations: 1.059 MB / 1.231 GB, free: 91.45 MB / 0.753 GB