Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [: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.166/2.166, allocations: 253.1 MB / 260.4 MB, free: 7.582 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.001682/0.001681, allocations: 189 kB / 319.6 MB, free: 3.316 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.871/1.871, allocations: 205.4 MB / 0.5704 GB, free: 15.13 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.001261/0.001261, allocations: 95.39 kB / 0.6746 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.306e-06/8.466e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1933, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.398/1.592, allocations: 430.9 MB / 1.309 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/1.592, allocations: 82.38 kB / 1.309 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.4172/2.009, allocations: 84.47 MB / 1.391 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.156e-05/2.009, allocations: 8 kB / 1.391 GB, free: 211.9 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.003305/2.013, allocations: 0.7295 MB / 1.392 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/2.013, allocations: 8.031 kB / 1.392 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/2.013, allocations: 23.8 kB / 1.392 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/2.013, allocations: 213.5 kB / 1.392 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/2.013, allocations: 4 kB / 1.392 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/2.013, allocations: 12 kB / 1.392 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006499/2.014, allocations: 411 kB / 1.393 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/2.014, allocations: 221.8 kB / 1.393 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/2.015, allocations: 0 / 1.393 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/2.015, allocations: 4 kB / 1.393 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/2.015, allocations: 7.906 kB / 1.393 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/2.016, allocations: 0.9997 MB / 1.394 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/2.016, allocations: 152 kB / 1.394 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/2.016, allocations: 56.39 kB / 1.394 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/2.018, allocations: 1.943 MB / 1.396 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/2.018, allocations: 38.3 kB / 1.396 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/2.018, allocations: 0 / 1.396 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0007312/2.019, allocations: 135.9 kB / 1.396 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/2.019, allocations: 55.41 kB / 1.396 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/2.019, allocations: 134.9 kB / 1.396 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/2.019, allocations: 29.7 kB / 1.396 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/2.019, allocations: 146.5 kB / 1.397 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/2.019, allocations: 50.33 kB / 1.397 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/2.019, allocations: 0 / 1.397 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/2.019, allocations: 322.3 kB / 1.397 GB, free: 206 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/2.019, allocations: 31.36 kB / 1.397 GB, free: 206 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/2.019, allocations: 133 kB / 1.397 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/2.02, allocations: 74.62 kB / 1.397 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/2.02, allocations: 3.984 kB / 1.397 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007391/2.021, allocations: 218.2 kB / 1.397 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/2.021, allocations: 8 kB / 1.397 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/2.021, allocations: 4 kB / 1.397 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/2.021, allocations: 7.984 kB / 1.397 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/2.021, allocations: 60.31 kB / 1.397 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/2.021, allocations: 12 kB / 1.397 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/2.021, allocations: 19.75 kB / 1.398 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/2.021, allocations: 11.12 kB / 1.398 GB, free: 205.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 8.723e-05/2.022, allocations: 112.9 kB / 1.398 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/2.022, allocations: 23.3 kB / 1.398 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008162/2.022, allocations: 179.1 kB / 1.398 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/2.022, allocations: 7.984 kB / 1.398 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/2.023, allocations: 3.906 kB / 1.398 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/2.023, allocations: 4 kB / 1.398 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/2.023, allocations: 180.3 kB / 1.398 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/2.023, allocations: 3.906 kB / 1.398 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/2.023, allocations: 27.98 kB / 1.398 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/2.023, allocations: 0 / 1.398 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/2.023, allocations: 4 kB / 1.398 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/2.023, allocations: 0 / 1.398 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/2.023, allocations: 0 / 1.398 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006431/2.024, allocations: 245.3 kB / 1.398 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/2.024, allocations: 115 kB / 1.398 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/2.024, allocations: 7.906 kB / 1.398 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/2.024, allocations: 7.938 kB / 1.398 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/2.024, allocations: 15.3 kB / 1.398 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/2.024, allocations: 7.984 kB / 1.398 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.949e-05/2.024, allocations: 109.1 kB / 1.399 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006081/2.025, allocations: 75.25 kB / 1.399 GB, free: 204.3 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0004187/2.025, allocations: 235.6 kB / 1.399 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003133/2.026, allocations: 113.1 kB / 1.399 GB, free: 204 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/2.026, allocations: 0 / 1.399 GB, free: 204 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/2.026, allocations: 39.06 kB / 1.399 GB, free: 204 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/2.026, allocations: 32.38 kB / 1.399 GB, free: 204 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006324/2.027, allocations: 167.6 kB / 1.399 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/2.027, allocations: 0.7438 MB / 1.4 GB, free: 203 MB / 0.8698 GB Notification: Performance of SimCode: time 6.41e-07/2.027, allocations: 0 / 1.4 GB, free: 203 MB / 0.8698 GB Notification: Performance of Templates: time 0.0105/2.038, allocations: 3.743 MB / 1.404 GB, free: 199.3 MB / 0.8698 GB