Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [: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 8.0.0/package.mo): time 2.113/2.113, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 185.2 kB / 360.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.1 MB / 0.6188 GB, free: 13.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.00128, allocations: 90.61 kB / 0.7318 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.756e-06/8.897e-06, allocations: 0 / 0.8503 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5416/0.5416, allocations: 115.2 MB / 0.9628 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.7414, allocations: 136.6 MB / 1.096 GB, free: 4.227 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.7417, allocations: 62.06 kB / 1.096 GB, free: 4.168 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003726/0.7454, allocations: 0.8401 MB / 1.097 GB, free: 3.352 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.7454, allocations: 0 / 1.097 GB, free: 3.352 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003691/0.7458, allocations: 362.9 kB / 1.097 GB, free: 2.953 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.7459, allocations: 8.656 kB / 1.097 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.7459, allocations: 11.81 kB / 1.097 GB, free: 2.934 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.7461, allocations: 187.7 kB / 1.098 GB, free: 2.711 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.7461, allocations: 4 kB / 1.098 GB, free: 2.707 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.7462, allocations: 5.547 kB / 1.098 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001393/0.7463, allocations: 32.53 kB / 1.098 GB, free: 2.672 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.7465, allocations: 88.27 kB / 1.098 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.7465, allocations: 0 / 1.098 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.7465, allocations: 2.844 kB / 1.098 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.7466, allocations: 0 / 1.098 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.7472, allocations: 413.1 kB / 1.098 GB, free: 2.133 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.144e-05/0.7473, allocations: 41.17 kB / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.7474, allocations: 18.69 kB / 1.098 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.7474, allocations: 0 / 1.098 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.7474, allocations: 35.89 kB / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.7474, allocations: 0 / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000192/0.7476, allocations: 50.61 kB / 1.098 GB, free: 1.957 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.7477, allocations: 77.89 kB / 1.098 GB, free: 1.863 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.7478, allocations: 124.4 kB / 1.098 GB, free: 1.734 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.7478, allocations: 25.7 kB / 1.098 GB, free: 1.703 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.7479, allocations: 112.6 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.537e-06/0.7479, allocations: 4.469 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.7479, allocations: 0 / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.7481, allocations: 323.8 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.736e-05/0.7481, allocations: 4.719 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.7482, allocations: 23.11 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.615e-05/0.7482, allocations: 4.812 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7482, allocations: 0.5 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001298/0.7484, allocations: 62.28 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7484, allocations: 9.156 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.7484, allocations: 0.5312 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.7484, allocations: 4.5 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.7485, allocations: 4 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.7486, allocations: 6.531 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.215e-05/0.7486, allocations: 12.34 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.7486, allocations: 3.984 kB / 1.099 GB, free: 1.129 MB / 0.698 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 (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.006e-05/0.7487, allocations: 110.8 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.7488, allocations: 4.594 kB / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.7488, allocations: 12.34 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.7488, allocations: 0.5312 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.7488, allocations: 4.125 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.7489, allocations: 4 kB / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.7494, allocations: 448.5 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7494, allocations: 0 / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.7494, allocations: 8 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7494, allocations: 0 / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.7495, allocations: 2.156 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.7495, allocations: 0 / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.7495, allocations: 11.98 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001101/0.7496, allocations: 83.53 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.7497, allocations: 95.28 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.7497, allocations: 0 / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/0.7498, allocations: 0 / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.7498, allocations: 8.031 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.7498, allocations: 0 / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of sort global known variables: time 8.565e-05/0.7499, allocations: 106.1 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002504/0.7501, allocations: 11.91 kB / 1.1 GB, free: 152 kB / 0.698 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 (2): * Single equations (assignments): 2 * 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.0001134/0.7503, allocations: 95.25 kB / 1.1 GB, free: 48 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.515e-05/0.7504, allocations: 19.94 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7504, allocations: 0 / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.7504, allocations: 12.12 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.7506, allocations: 1.203 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.7509, allocations: 120.1 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.7512, allocations: 0.7113 MB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.7512, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.002928/0.7542, allocations: 377 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)