Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.313/1.313, allocations: 289.8 MB / 297.1 MB, free: 6.738 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.0008817/0.0008817, allocations: 169.3 kB / 366.3 MB, free: 1.996 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.055/1.055, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0008575/0.0008576, allocations: 88.59 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.039e-05/1.055e-05, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4302, allocations: 116.3 MB / 0.9726 GB, free: 68.78 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.569, allocations: 137.7 MB / 1.107 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.5692, allocations: 68.47 kB / 1.107 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002371/0.5716, allocations: 0.8417 MB / 1.108 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.5717, allocations: 0 / 1.108 GB, free: 9.93 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.0002972/0.572, allocations: 362.2 kB / 1.108 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.572, allocations: 8.031 kB / 1.108 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.572, allocations: 11.81 kB / 1.108 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.5722, allocations: 182.8 kB / 1.108 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.5722, allocations: 4 kB / 1.108 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.5722, allocations: 4 kB / 1.109 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.259e-05/0.5723, allocations: 40 kB / 1.109 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.5725, allocations: 83.31 kB / 1.109 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.5725, allocations: 0 / 1.109 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.5725, allocations: 3.984 kB / 1.109 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5725, allocations: 0 / 1.109 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.573, allocations: 417.2 kB / 1.109 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.541e-05/0.573, allocations: 37.16 kB / 1.109 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.5731, allocations: 25.83 kB / 1.109 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.5731, allocations: 0 / 1.109 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.5731, allocations: 34.59 kB / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.5731, allocations: 0 / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001503/0.5733, allocations: 49.59 kB / 1.109 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.5733, allocations: 77.11 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.5734, allocations: 129.6 kB / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.5734, allocations: 25.7 kB / 1.109 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.5735, allocations: 113.2 kB / 1.109 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-06/0.5735, allocations: 3.906 kB / 1.109 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.5735, allocations: 3.938 kB / 1.109 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.5736, allocations: 318.8 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.5736, allocations: 4 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/0.5737, allocations: 21.72 kB / 1.11 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.099e-05/0.5737, allocations: 12 kB / 1.11 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5737, allocations: 0 / 1.11 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.677e-05/0.5738, allocations: 57.59 kB / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.5738, allocations: 8.219 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5738, allocations: 0 / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.5738, allocations: 3.938 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.5739, allocations: 7.938 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.5739, allocations: 7.484 kB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.574, allocations: 10.38 kB / 1.11 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-06/0.574, allocations: 4 kB / 1.11 GB, free: 7.676 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 5.193e-05/0.574, allocations: 105 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.5741, allocations: 7.891 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.5741, allocations: 7.594 kB / 1.11 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.5741, allocations: 0 / 1.11 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5741, allocations: 0 / 1.11 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5741, allocations: 5.219 kB / 1.11 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.5745, allocations: 455.3 kB / 1.11 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5745, allocations: 0 / 1.11 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.5745, allocations: 4 kB / 1.11 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5745, allocations: 0 / 1.11 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.5745, allocations: 0 / 1.11 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5745, allocations: 0 / 1.11 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5745, allocations: 0 / 1.11 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.529e-05/0.5746, allocations: 99.52 kB / 1.111 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.5747, allocations: 89 kB / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.5747, allocations: 0 / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.135e-05/0.5747, allocations: 0 / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-06/0.5747, allocations: 4 kB / 1.111 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.5748, allocations: 1.219 kB / 1.111 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.628e-05/0.5748, allocations: 107.3 kB / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001697/0.575, allocations: 15.94 kB / 1.111 GB, free: 6.691 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 0.0001052/0.5751, allocations: 95.25 kB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.059e-05/0.5752, allocations: 16 kB / 1.111 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5752, allocations: 0 / 1.111 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-05/0.5752, allocations: 7.938 kB / 1.111 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.738e-05/0.5753, allocations: 8.688 kB / 1.111 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.5756, allocations: 104.6 kB / 1.111 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.5758, allocations: 0.7113 MB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.5758, allocations: 1.688 kB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of Templates: time 0.001791/0.5776, allocations: 375.9 kB / 1.112 GB, free: 5.348 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)