Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [: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.223/2.223, allocations: 253.1 MB / 260.4 MB, free: 7.602 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.001609/0.001609, allocations: 177.3 kB / 319.6 MB, free: 3.285 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.817/1.817, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.001298/0.001298, allocations: 87.39 kB / 0.6746 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.295e-06/8.466e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1899, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.99/11.18, allocations: 4.605 GB / 5.493 GB, free: 91.48 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/11.18, allocations: 84.56 kB / 5.493 GB, free: 91.44 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.141/11.32, allocations: 44.54 MB / 5.536 GB, free: 49.65 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.03e-05/11.32, allocations: 0 / 5.536 GB, free: 49.65 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004076/11.32, allocations: 338.3 kB / 5.537 GB, free: 49.28 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/11.32, allocations: 12.03 kB / 5.537 GB, free: 49.27 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/11.32, allocations: 15.98 kB / 5.537 GB, free: 49.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/11.32, allocations: 171 kB / 5.537 GB, free: 49.04 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.001e-05/11.32, allocations: 29.64 kB / 5.537 GB, free: 49.01 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/11.32, allocations: 3.906 kB / 5.537 GB, free: 49 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001326/11.33, allocations: 19.98 kB / 5.537 GB, free: 48.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/11.33, allocations: 45.69 kB / 5.537 GB, free: 48.93 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/11.33, allocations: 4 kB / 5.537 GB, free: 48.93 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/11.33, allocations: 3.938 kB / 5.537 GB, free: 48.93 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/11.33, allocations: 4 kB / 5.537 GB, free: 48.92 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/11.33, allocations: 241.4 kB / 5.537 GB, free: 48.65 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.58e-05/11.33, allocations: 18.52 kB / 5.537 GB, free: 48.62 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/11.33, allocations: 8.859 kB / 5.537 GB, free: 48.61 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/11.33, allocations: 0 / 5.537 GB, free: 48.61 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/11.33, allocations: 34.62 kB / 5.537 GB, free: 48.57 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 2.725e-06/11.33, allocations: 0 / 5.537 GB, free: 48.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001841/11.33, allocations: 33.61 kB / 5.537 GB, free: 48.53 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/11.33, allocations: 51.41 kB / 5.537 GB, free: 48.46 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.595e-05/11.33, allocations: 105 kB / 5.538 GB, free: 48.36 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/11.33, allocations: 25.7 kB / 5.538 GB, free: 48.32 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/11.33, allocations: 92.08 kB / 5.538 GB, free: 48.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.899e-06/11.33, allocations: 3.938 kB / 5.538 GB, free: 48.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-06/11.33, allocations: 0 / 5.538 GB, free: 48.23 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/11.33, allocations: 319.2 kB / 5.538 GB, free: 47.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.599e-05/11.33, allocations: 0 / 5.538 GB, free: 47.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.47e-05/11.33, allocations: 34.44 kB / 5.538 GB, free: 47.86 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.226e-05/11.33, allocations: 12 kB / 5.538 GB, free: 47.85 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/11.33, allocations: 0 / 5.538 GB, free: 47.85 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001459/11.33, allocations: 49.62 kB / 5.538 GB, free: 47.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/11.33, allocations: 8 kB / 5.538 GB, free: 47.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/11.33, allocations: 0 / 5.538 GB, free: 47.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/11.33, allocations: 0 / 5.538 GB, free: 47.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/11.33, allocations: 8 kB / 5.538 GB, free: 47.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/11.33, allocations: 0 / 5.538 GB, free: 47.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/11.33, allocations: 3.906 kB / 5.538 GB, free: 47.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/11.33, allocations: 8.094 kB / 5.538 GB, free: 47.77 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.949e-05/11.33, allocations: 105 kB / 5.538 GB, free: 47.66 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/11.33, allocations: 3.906 kB / 5.538 GB, free: 47.66 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/11.33, allocations: 7.156 kB / 5.538 GB, free: 47.65 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/11.33, allocations: 0 / 5.538 GB, free: 47.65 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/11.33, allocations: 0 / 5.538 GB, free: 47.65 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/11.33, allocations: 0 / 5.538 GB, free: 47.65 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/11.33, allocations: 335.1 kB / 5.539 GB, free: 47.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/11.33, allocations: 0 / 5.539 GB, free: 47.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/11.33, allocations: 0 / 5.539 GB, free: 47.28 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/11.33, allocations: 0 / 5.539 GB, free: 47.28 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/11.33, allocations: 0 / 5.539 GB, free: 47.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/11.33, allocations: 7.984 kB / 5.539 GB, free: 47.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/11.33, allocations: 0 / 5.539 GB, free: 47.27 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.05e-05/11.33, allocations: 57.05 kB / 5.539 GB, free: 47.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/11.33, allocations: 81.17 kB / 5.539 GB, free: 47.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/11.33, allocations: 4 kB / 5.539 GB, free: 47.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/11.33, allocations: 7.984 kB / 5.539 GB, free: 47.09 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/11.33, allocations: 0 / 5.539 GB, free: 47.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/11.33, allocations: 0 / 5.539 GB, free: 47.09 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.852e-05/11.33, allocations: 83.47 kB / 5.539 GB, free: 47 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000547/11.33, allocations: 35.98 kB / 5.539 GB, free: 46.97 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 (1): * Single equations (assignments): 1 * 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.001224/11.33, allocations: 0.6806 MB / 5.539 GB, free: 46.28 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001107/11.33, allocations: 12 kB / 5.539 GB, free: 46.27 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/11.33, allocations: 0 / 5.539 GB, free: 46.27 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.548e-05/11.33, allocations: 4 kB / 5.539 GB, free: 46.27 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/11.33, allocations: 256 / 5.539 GB, free: 46.27 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/11.33, allocations: 60 kB / 5.54 GB, free: 46.18 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/11.33, allocations: 0.688 MB / 5.54 GB, free: 45.47 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/11.33, allocations: 0 / 5.54 GB, free: 45.47 MB / 0.8698 GB Notification: Performance of Templates: time 0.01526/11.35, allocations: 3.757 MB / 5.544 GB, free: 41.72 MB / 0.8698 GB