Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirProperties.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.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirProperties") [: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.246/2.246, allocations: 253.1 MB / 260.4 MB, free: 7.566 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.001681/0.001681, allocations: 181.3 kB / 319.6 MB, free: 3.309 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.793/1.793, allocations: 205.4 MB / 0.5704 GB, free: 14.97 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.001313/0.001312, allocations: 99.86 kB / 0.6746 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.042e-05/1.053e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2355, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.499/5.735, allocations: 2.205 GB / 3.093 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/5.735, allocations: 71.03 kB / 3.093 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2302/5.965, allocations: 50.06 MB / 3.142 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.854e-05/5.966, allocations: 4 kB / 3.142 GB, free: 114.7 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001364/5.967, allocations: 0.5683 MB / 3.142 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/5.967, allocations: 8.031 kB / 3.142 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/5.969, allocations: 151.5 kB / 3.143 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/5.969, allocations: 222.7 kB / 3.143 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/5.969, allocations: 8 kB / 3.143 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/5.969, allocations: 12 kB / 3.143 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008139/5.97, allocations: 320.7 kB / 3.143 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/5.971, allocations: 292.1 kB / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/5.971, allocations: 7.938 kB / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/5.971, allocations: 0 / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-05/5.971, allocations: 16.36 kB / 3.143 GB, free: 113 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/5.973, allocations: 1.135 MB / 3.145 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/5.974, allocations: 178.7 kB / 3.145 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/5.974, allocations: 80.73 kB / 3.145 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005619/5.975, allocations: 352.4 kB / 3.145 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/5.975, allocations: 42.5 kB / 3.145 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 2.815e-06/5.975, allocations: 4 kB / 3.145 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0007435/5.976, allocations: 173.4 kB / 3.145 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/5.976, allocations: 51.41 kB / 3.145 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/5.976, allocations: 157.9 kB / 3.146 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/5.976, allocations: 25.7 kB / 3.146 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/5.976, allocations: 151.8 kB / 3.146 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/5.976, allocations: 67 kB / 3.146 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/5.976, allocations: 112 / 3.146 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/5.976, allocations: 334.8 kB / 3.146 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/5.976, allocations: 64.25 kB / 3.146 GB, free: 110 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/5.977, allocations: 156.5 kB / 3.146 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/5.977, allocations: 88.67 kB / 3.146 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/5.977, allocations: 4 kB / 3.146 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007046/5.978, allocations: 255 kB / 3.147 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/5.978, allocations: 8 kB / 3.147 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/5.978, allocations: 0 / 3.147 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/5.978, allocations: 8.406 kB / 3.147 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/5.978, allocations: 67.91 kB / 3.147 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/5.978, allocations: 11.88 kB / 3.147 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/5.979, allocations: 23.69 kB / 3.147 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/5.979, allocations: 15.91 kB / 3.147 GB, free: 109.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001185/5.979, allocations: 108.9 kB / 3.147 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/5.979, allocations: 19.8 kB / 3.147 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006767/5.98, allocations: 218.4 kB / 3.147 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/5.98, allocations: 3.984 kB / 3.147 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/5.98, allocations: 0 / 3.147 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/5.98, allocations: 0 / 3.147 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/5.981, allocations: 493.2 kB / 3.148 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/5.981, allocations: 4 kB / 3.148 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/5.981, allocations: 27.98 kB / 3.148 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/5.981, allocations: 3.984 kB / 3.148 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/5.981, allocations: 8.031 kB / 3.148 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/5.981, allocations: 0 / 3.148 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/5.981, allocations: 3.938 kB / 3.148 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007593/5.982, allocations: 293.4 kB / 3.148 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/5.983, allocations: 120.8 kB / 3.148 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/5.983, allocations: 7.938 kB / 3.148 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/5.983, allocations: 11.98 kB / 3.148 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/5.983, allocations: 7.984 kB / 3.148 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/5.983, allocations: 15.98 kB / 3.148 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001362/5.984, allocations: 111.3 kB / 3.148 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001203/5.985, allocations: 143.8 kB / 3.148 GB, free: 107.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001537/5.986, allocations: 0.7216 MB / 3.149 GB, free: 107 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007106/5.987, allocations: 172.6 kB / 3.149 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/5.987, allocations: 4 kB / 3.149 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/5.987, allocations: 75.91 kB / 3.149 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008788/5.988, allocations: 48.48 kB / 3.149 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/5.989, allocations: 229 kB / 3.15 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005388/5.99, allocations: 0.7661 MB / 3.15 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.563e-06/5.99, allocations: 0 / 3.15 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.02759/6.018, allocations: 7.503 MB / 3.158 GB, free: 98.16 MB / 0.8698 GB