Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.305/1.305, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009661/0.0009661, allocations: 185.3 kB / 361.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9922/0.9922, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007352/0.0007352, allocations: 89.84 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.063e-06, allocations: 4 kB / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4134, allocations: 115.3 MB / 0.9637 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.5435, allocations: 136.8 MB / 1.097 GB, free: 3.242 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001718/0.5437, allocations: 70.19 kB / 1.097 GB, free: 3.176 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002365/0.546, allocations: 0.8474 MB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.5461, allocations: 0 / 1.098 GB, free: 2.355 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.0002708/0.5463, allocations: 359.9 kB / 1.098 GB, free: 1.961 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.5464, allocations: 12.03 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.5464, allocations: 11.81 kB / 1.098 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.5466, allocations: 186.8 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.5466, allocations: 0 / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.5466, allocations: 10.78 kB / 1.099 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.397e-05/0.5467, allocations: 28 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.5468, allocations: 83.3 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.5468, allocations: 3.938 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.5468, allocations: 4.594 kB / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5469, allocations: 2.141 kB / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.5473, allocations: 416.8 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.556e-05/0.5474, allocations: 38.5 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.5474, allocations: 21.81 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.5474, allocations: 0.875 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.5475, allocations: 37.14 kB / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.5475, allocations: 0.9375 kB / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.5476, allocations: 46.14 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.5477, allocations: 82.39 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.888e-05/0.5477, allocations: 124.4 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.5478, allocations: 25.7 kB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.5478, allocations: 108.7 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.003e-06/0.5478, allocations: 10.94 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.5478, allocations: 0 / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.5479, allocations: 318.8 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.548, allocations: 4 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.069e-05/0.548, allocations: 17.72 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.548, allocations: 17.25 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.548, allocations: 0 / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.666e-05/0.5481, allocations: 61.53 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.5481, allocations: 4.594 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.5481, allocations: 1.469 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.5481, allocations: 4 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.5482, allocations: 4 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.5482, allocations: 0 / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.5483, allocations: 14.88 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.5483, allocations: 1.719 kB / 1.1 GB, free: 140 kB / 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 5.008e-05/0.5483, allocations: 107.5 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.5484, allocations: 8.516 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.5484, allocations: 12.19 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.5484, allocations: 0 / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.5484, allocations: 0.5312 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5484, allocations: 0 / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.5487, allocations: 452.7 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5488, allocations: 2.188 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.5488, allocations: 4 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5488, allocations: 1.625 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.5488, allocations: 4 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5488, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5488, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.507e-05/0.5489, allocations: 99.52 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.549, allocations: 89 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.549, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/0.549, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-06/0.549, allocations: 1.359 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.549, allocations: 4 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.316e-05/0.5491, allocations: 114 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001685/0.5493, allocations: 11.91 kB / 1.101 GB, free: 15.16 MB / 0.7136 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 8.917e-05/0.5494, allocations: 99.03 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.088e-05/0.5494, allocations: 19.94 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.5494, allocations: 0 / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.096e-05/0.5494, allocations: 4 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.697e-05/0.5495, allocations: 4 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/0.5498, allocations: 113.5 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.55, allocations: 0.7082 MB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of SimCode: time 1.933e-06/0.55, allocations: 0 / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of Templates: time 0.001757/0.5518, allocations: 379 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)