Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [: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.083/2.083, allocations: 253.1 MB / 260.4 MB, free: 7.473 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.001672/0.001672, allocations: 188.8 kB / 319.6 MB, free: 3.301 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.936/1.936, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001428/0.001427, allocations: 88.95 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.608e-06/9.769e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2035, allocations: 106.3 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.236, allocations: 370.1 MB / 1.249 GB, free: 480 kB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/1.236, allocations: 72.64 kB / 1.25 GB, free: 444 kB / 0.8542 GB Notification: Performance of FrontEnd: time 0.452/1.688, allocations: 11.36 MB / 1.261 GB, free: 315.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.709e-06/1.688, allocations: 5.062 kB / 1.261 GB, free: 315.3 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.0003093/1.689, allocations: 335.1 kB / 1.261 GB, free: 315 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.689, allocations: 12.97 kB / 1.261 GB, free: 314.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/1.689, allocations: 2.219 kB / 1.261 GB, free: 314.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.464e-05/1.689, allocations: 161.7 kB / 1.261 GB, free: 314.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-05/1.689, allocations: 27.53 kB / 1.261 GB, free: 314.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/1.689, allocations: 1.125 kB / 1.261 GB, free: 314.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.774e-05/1.689, allocations: 14.61 kB / 1.261 GB, free: 314.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.031e-05/1.689, allocations: 45.56 kB / 1.261 GB, free: 314.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.689, allocations: 3.938 kB / 1.261 GB, free: 314.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/1.689, allocations: 0 / 1.261 GB, free: 314.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/1.689, allocations: 5.375 kB / 1.261 GB, free: 314.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/1.69, allocations: 314.8 kB / 1.262 GB, free: 314.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.125e-05/1.69, allocations: 17.14 kB / 1.262 GB, free: 314.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/1.69, allocations: 10.14 kB / 1.262 GB, free: 314.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.901e-05/1.69, allocations: 84.19 kB / 1.262 GB, free: 314.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/1.69, allocations: 35.91 kB / 1.262 GB, free: 314.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/1.69, allocations: 0 / 1.262 GB, free: 314.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001766/1.69, allocations: 37.09 kB / 1.262 GB, free: 314.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/1.69, allocations: 52.48 kB / 1.262 GB, free: 314.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.429e-05/1.69, allocations: 95.17 kB / 1.262 GB, free: 314 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/1.69, allocations: 27.05 kB / 1.262 GB, free: 313.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/1.69, allocations: 85.17 kB / 1.262 GB, free: 313.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/1.69, allocations: 9.344 kB / 1.262 GB, free: 313.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/1.69, allocations: 0 / 1.262 GB, free: 313.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.751e-05/1.69, allocations: 317.4 kB / 1.262 GB, free: 313.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/1.69, allocations: 4.188 kB / 1.262 GB, free: 313.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/1.691, allocations: 12.03 kB / 1.262 GB, free: 313.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.941e-05/1.691, allocations: 12.03 kB / 1.262 GB, free: 313.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.691, allocations: 0.5156 kB / 1.262 GB, free: 313.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001434/1.691, allocations: 48.23 kB / 1.262 GB, free: 313.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.691, allocations: 9.188 kB / 1.262 GB, free: 313.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.691, allocations: 0 / 1.262 GB, free: 313.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.691, allocations: 5.125 kB / 1.262 GB, free: 313.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/1.691, allocations: 6.469 kB / 1.262 GB, free: 313.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/1.691, allocations: 1.703 kB / 1.262 GB, free: 313.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/1.691, allocations: 1 kB / 1.262 GB, free: 313.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/1.691, allocations: 1.219 kB / 1.262 GB, free: 313.5 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.496e-05/1.691, allocations: 103 kB / 1.262 GB, free: 313.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/1.691, allocations: 5.781 kB / 1.262 GB, free: 313.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/1.691, allocations: 138.7 kB / 1.263 GB, free: 313.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/1.691, allocations: 179.4 kB / 1.263 GB, free: 313 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-05/1.691, allocations: 178 kB / 1.263 GB, free: 312.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.924e-05/1.691, allocations: 181.8 kB / 1.263 GB, free: 312.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/1.692, allocations: 391.8 kB / 1.263 GB, free: 312.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/1.692, allocations: 101.7 kB / 1.264 GB, free: 312.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/1.692, allocations: 110.7 kB / 1.264 GB, free: 312 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.294e-05/1.692, allocations: 182 kB / 1.264 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/1.692, allocations: 181.8 kB / 1.264 GB, free: 311.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.213e-05/1.692, allocations: 183.6 kB / 1.264 GB, free: 311.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.164e-05/1.692, allocations: 180.9 kB / 1.264 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.471e-05/1.692, allocations: 306.2 kB / 1.265 GB, free: 311 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/1.692, allocations: 185.1 kB / 1.265 GB, free: 310.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/1.692, allocations: 178.8 kB / 1.265 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/1.692, allocations: 114.8 kB / 1.265 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/1.692, allocations: 177.9 kB / 1.265 GB, free: 310.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/1.692, allocations: 106.5 kB / 1.265 GB, free: 310.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.534e-05/1.692, allocations: 85.05 kB / 1.265 GB, free: 310.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003543/1.693, allocations: 13.28 kB / 1.265 GB, free: 310.1 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.00024/1.693, allocations: 210.9 kB / 1.266 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.21e-05/1.693, allocations: 11.59 kB / 1.266 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.693, allocations: 0 / 1.266 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/1.693, allocations: 0 / 1.266 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/1.693, allocations: 0.5263 MB / 1.266 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001811/1.694, allocations: 135.5 kB / 1.266 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/1.694, allocations: 0.6864 MB / 1.267 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/1.694, allocations: 0 / 1.267 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.003832/1.698, allocations: 0.6968 MB / 1.268 GB, free: 308.4 MB / 0.8542 GB