Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [: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.287/2.287, allocations: 253.1 MB / 260.4 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001607/0.001606, allocations: 181.2 kB / 319.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.966/1.966, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 94.38 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.636e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2127, allocations: 106.2 MB / 0.888 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.501/1.714, allocations: 417.5 MB / 1.296 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/1.714, allocations: 70.3 kB / 1.296 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.06308/1.777, allocations: 17.41 MB / 1.313 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.404e-05/1.777, allocations: 1.844 kB / 1.313 GB, free: 241.9 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004202/1.778, allocations: 352.4 kB / 1.313 GB, free: 241.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/1.778, allocations: 8.906 kB / 1.313 GB, free: 241.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/1.778, allocations: 5.922 kB / 1.313 GB, free: 241.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/1.778, allocations: 161.4 kB / 1.313 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/1.778, allocations: 31.55 kB / 1.313 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/1.778, allocations: 1.344 kB / 1.313 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000116/1.778, allocations: 14.89 kB / 1.313 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/1.778, allocations: 40.08 kB / 1.313 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.778, allocations: 5.562 kB / 1.313 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/1.778, allocations: 0 / 1.313 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/1.778, allocations: 1.969 kB / 1.313 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/1.779, allocations: 309.6 kB / 1.314 GB, free: 241 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.661e-05/1.779, allocations: 15.8 kB / 1.314 GB, free: 241 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/1.779, allocations: 8.344 kB / 1.314 GB, free: 240.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.933e-05/1.779, allocations: 91.31 kB / 1.314 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/1.779, allocations: 37.14 kB / 1.314 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/1.779, allocations: 0 / 1.314 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001832/1.779, allocations: 32.8 kB / 1.314 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/1.779, allocations: 52.41 kB / 1.314 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.093e-05/1.779, allocations: 103 kB / 1.314 GB, free: 240.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/1.779, allocations: 27.08 kB / 1.314 GB, free: 240.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/1.779, allocations: 86.52 kB / 1.314 GB, free: 240.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.813e-06/1.779, allocations: 3.906 kB / 1.314 GB, free: 240.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/1.779, allocations: 0 / 1.314 GB, free: 240.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.74e-05/1.779, allocations: 317.4 kB / 1.314 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/1.779, allocations: 6.797 kB / 1.314 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/1.78, allocations: 13.5 kB / 1.314 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.223e-05/1.78, allocations: 8.797 kB / 1.314 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.78, allocations: 0 / 1.314 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001473/1.78, allocations: 59.14 kB / 1.315 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.78, allocations: 8.062 kB / 1.315 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.78, allocations: 1.438 kB / 1.315 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.78, allocations: 0.8906 kB / 1.315 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/1.78, allocations: 6.172 kB / 1.315 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/1.78, allocations: 0.5625 kB / 1.315 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/1.78, allocations: 1.438 kB / 1.315 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/1.78, allocations: 1 kB / 1.315 GB, free: 240.1 MB / 0.8542 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 5.688e-05/1.78, allocations: 106.8 kB / 1.315 GB, free: 240 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/1.78, allocations: 9.891 kB / 1.315 GB, free: 240 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/1.78, allocations: 122.7 kB / 1.315 GB, free: 239.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.311e-05/1.78, allocations: 181 kB / 1.315 GB, free: 239.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-05/1.78, allocations: 182 kB / 1.315 GB, free: 239.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.43e-05/1.78, allocations: 183.5 kB / 1.315 GB, free: 239.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/1.781, allocations: 386.8 kB / 1.316 GB, free: 238.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/1.781, allocations: 105.8 kB / 1.316 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-05/1.781, allocations: 107.4 kB / 1.316 GB, free: 238.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-05/1.781, allocations: 177.3 kB / 1.316 GB, free: 238.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/1.781, allocations: 185.8 kB / 1.316 GB, free: 238.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.341e-05/1.781, allocations: 182.6 kB / 1.316 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.509e-05/1.781, allocations: 176.9 kB / 1.317 GB, free: 238 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.068e-05/1.781, allocations: 309.9 kB / 1.317 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/1.781, allocations: 182.7 kB / 1.317 GB, free: 237.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.777e-05/1.781, allocations: 189.9 kB / 1.317 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/1.781, allocations: 106.6 kB / 1.317 GB, free: 237.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/1.781, allocations: 178.3 kB / 1.317 GB, free: 237 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/1.781, allocations: 109.7 kB / 1.318 GB, free: 236.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.264e-05/1.781, allocations: 81.55 kB / 1.318 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003924/1.782, allocations: 25.17 kB / 1.318 GB, free: 236.8 MB / 0.8542 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.0003303/1.782, allocations: 229.8 kB / 1.318 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.623e-05/1.782, allocations: 8.703 kB / 1.318 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.782, allocations: 0 / 1.318 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-06/1.782, allocations: 3.125 kB / 1.318 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/1.783, allocations: 0.5261 MB / 1.318 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001959/1.783, allocations: 134.6 kB / 1.319 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/1.783, allocations: 0.6875 MB / 1.319 GB, free: 235.2 MB / 0.8542 GB Notification: Performance of SimCode: time 6.62e-07/1.783, allocations: 0 / 1.319 GB, free: 235.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.004292/1.787, allocations: 0.8316 MB / 1.32 GB, free: 235.1 MB / 0.8542 GB