Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [: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.302/2.302, allocations: 253.1 MB / 260.4 MB, free: 7.488 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.001701/0.001701, allocations: 185.2 kB / 319.6 MB, free: 3.273 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.762/1.762, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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.001297/0.001297, allocations: 86.08 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.657e-06/8.756e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2095, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.605/5.815, allocations: 2.171 GB / 3.06 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/5.815, allocations: 72.03 kB / 3.06 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.116/5.931, allocations: 36.04 MB / 3.095 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.377e-06/5.931, allocations: 3.938 kB / 3.095 GB, free: 158.5 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.0003368/5.932, allocations: 342.1 kB / 3.095 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/5.932, allocations: 12.03 kB / 3.095 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/5.932, allocations: 23.95 kB / 3.095 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/5.932, allocations: 167.1 kB / 3.095 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-05/5.932, allocations: 29.61 kB / 3.095 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/5.932, allocations: 0 / 3.095 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.852e-05/5.932, allocations: 23.8 kB / 3.095 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.76e-05/5.933, allocations: 41.56 kB / 3.095 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/5.933, allocations: 0 / 3.095 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/5.933, allocations: 0 / 3.095 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/5.933, allocations: 7.938 kB / 3.095 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/5.933, allocations: 333.1 kB / 3.096 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.901e-05/5.933, allocations: 18.45 kB / 3.096 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/5.933, allocations: 8.922 kB / 3.096 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-06/5.933, allocations: 3.938 kB / 3.096 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/5.933, allocations: 30.56 kB / 3.096 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/5.933, allocations: 4 kB / 3.096 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.000263/5.934, allocations: 49.52 kB / 3.096 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/5.934, allocations: 51.41 kB / 3.096 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/5.934, allocations: 100.4 kB / 3.096 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/5.934, allocations: 25.7 kB / 3.096 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/5.934, allocations: 95.61 kB / 3.096 GB, free: 157 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.572e-06/5.934, allocations: 3.906 kB / 3.096 GB, free: 157 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/5.934, allocations: 4.031 kB / 3.096 GB, free: 157 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.093e-05/5.934, allocations: 314.8 kB / 3.096 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/5.934, allocations: 4 kB / 3.096 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.295e-05/5.934, allocations: 22.39 kB / 3.096 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/5.934, allocations: 4 kB / 3.096 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/5.934, allocations: 0 / 3.096 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001074/5.934, allocations: 57.25 kB / 3.096 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/5.934, allocations: 7.938 kB / 3.096 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/5.934, allocations: 0 / 3.096 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/5.934, allocations: 4 kB / 3.096 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/5.934, allocations: 4.25 kB / 3.096 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/5.934, allocations: 7.891 kB / 3.097 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/5.934, allocations: 8 kB / 3.097 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/5.934, allocations: 0 / 3.097 GB, free: 156.5 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 6.986e-05/5.934, allocations: 113 kB / 3.097 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/5.935, allocations: 3.906 kB / 3.097 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/5.935, allocations: 7.109 kB / 3.097 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/5.935, allocations: 0 / 3.097 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/5.935, allocations: 0 / 3.097 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/5.935, allocations: 0 / 3.097 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/5.935, allocations: 322.8 kB / 3.097 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/5.935, allocations: 0 / 3.097 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/5.935, allocations: 8.016 kB / 3.097 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/5.935, allocations: 4 kB / 3.097 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/5.935, allocations: 0 / 3.097 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/5.935, allocations: 0 / 3.097 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/5.935, allocations: 0 / 3.097 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.866e-05/5.935, allocations: 64.55 kB / 3.097 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/5.935, allocations: 77.11 kB / 3.097 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/5.935, allocations: 3.984 kB / 3.097 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/5.935, allocations: 8.031 kB / 3.097 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/5.935, allocations: 0 / 3.097 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/5.935, allocations: 0 / 3.097 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.149e-05/5.935, allocations: 94.56 kB / 3.097 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000355/5.936, allocations: 33.67 kB / 3.097 GB, free: 155.7 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.000835/5.937, allocations: 0.657 MB / 3.098 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001115/5.937, allocations: 15.69 kB / 3.098 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/5.937, allocations: 0 / 3.098 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.985e-06/5.937, allocations: 4.188 kB / 3.098 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/5.937, allocations: 4 kB / 3.098 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/5.937, allocations: 52 kB / 3.098 GB, free: 155 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/5.937, allocations: 0.688 MB / 3.099 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of SimCode: time 9.41e-07/5.937, allocations: 0 / 3.099 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.01043/5.948, allocations: 3.638 MB / 3.102 GB, free: 150.6 MB / 0.8698 GB