Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.343/1.343, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.0009153/0.0009153, allocations: 181.3 kB / 366.3 MB, free: 2.012 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.018/1.018, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0007565/0.0007565, allocations: 90.75 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.162e-06/6.272e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3826, allocations: 116.3 MB / 0.9726 GB, free: 67.93 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.5119, allocations: 137.7 MB / 1.107 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001619/0.5121, allocations: 72.88 kB / 1.107 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002353/0.5145, allocations: 0.8434 MB / 1.108 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5145, allocations: 0.5625 kB / 1.108 GB, free: 9.742 MB / 0.7136 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.0002624/0.5148, allocations: 359.1 kB / 1.108 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.5148, allocations: 12.75 kB / 1.108 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.5149, allocations: 15.81 kB / 1.108 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.515, allocations: 179.5 kB / 1.109 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.515, allocations: 0.7188 kB / 1.109 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.515, allocations: 11.98 kB / 1.109 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.328e-05/0.5151, allocations: 39.94 kB / 1.109 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.5152, allocations: 86.27 kB / 1.109 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.5153, allocations: 4 kB / 1.109 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.5153, allocations: 1.688 kB / 1.109 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5153, allocations: 0 / 1.109 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.5157, allocations: 417.2 kB / 1.109 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.95e-05/0.5158, allocations: 37.22 kB / 1.109 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.5158, allocations: 21.78 kB / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.5158, allocations: 0 / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.5159, allocations: 34.55 kB / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.5159, allocations: 0 / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001377/0.516, allocations: 49.55 kB / 1.109 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.516, allocations: 77.11 kB / 1.109 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.346e-05/0.5161, allocations: 126.5 kB / 1.109 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.5162, allocations: 25.7 kB / 1.109 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.5162, allocations: 108 kB / 1.109 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.722e-06/0.5162, allocations: 7.906 kB / 1.11 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.5162, allocations: 0 / 1.11 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.5163, allocations: 318.8 kB / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.5163, allocations: 4 kB / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.5164, allocations: 21.72 kB / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.081e-05/0.5164, allocations: 16.97 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5164, allocations: 0 / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.785e-05/0.5165, allocations: 57.59 kB / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.5165, allocations: 4.219 kB / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.5165, allocations: 0 / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.5165, allocations: 7.938 kB / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.5166, allocations: 4 kB / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.5166, allocations: 0 / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.5166, allocations: 22.31 kB / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.5167, allocations: 3.984 kB / 1.11 GB, free: 7.484 MB / 0.7136 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 4.64e-05/0.5167, allocations: 101 kB / 1.11 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.5168, allocations: 8.844 kB / 1.11 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.5168, allocations: 11.59 kB / 1.11 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.5168, allocations: 0 / 1.11 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.5168, allocations: 0 / 1.11 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.5168, allocations: 0 / 1.11 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.5171, allocations: 451.3 kB / 1.11 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5171, allocations: 4 kB / 1.11 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.5172, allocations: 0 / 1.11 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5172, allocations: 4 kB / 1.11 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.5172, allocations: 0 / 1.11 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.5172, allocations: 0.9375 kB / 1.11 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5172, allocations: 3.984 kB / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.937e-05/0.5173, allocations: 91.59 kB / 1.111 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.5173, allocations: 89 kB / 1.111 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.5173, allocations: 0 / 1.111 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.222e-05/0.5174, allocations: 4 kB / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-06/0.5174, allocations: 0 / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.5174, allocations: 7.938 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.039e-05/0.5174, allocations: 108.5 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001674/0.5176, allocations: 15.94 kB / 1.111 GB, free: 6.5 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.069e-05/0.5177, allocations: 95.81 kB / 1.111 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.157e-05/0.5178, allocations: 16 kB / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5178, allocations: 0 / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.206e-05/0.5178, allocations: 7.938 kB / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.65e-05/0.5179, allocations: 5.641 kB / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.5181, allocations: 108.6 kB / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.5184, allocations: 0.7121 MB / 1.112 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.5184, allocations: 0 / 1.112 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.001661/0.5201, allocations: 376.8 kB / 1.112 GB, free: 5.152 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)