Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [: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.325/1.325, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.0008959/0.0008959, allocations: 169.3 kB / 366.3 MB, free: 1.969 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.048/1.048, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0007818/0.0007818, allocations: 88.66 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.666e-06/8.786e-06, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4219, allocations: 116.3 MB / 0.9726 GB, free: 68.48 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.5636, allocations: 137.7 MB / 1.107 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.5639, allocations: 67.89 kB / 1.107 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002417/0.5663, allocations: 0.8403 MB / 1.108 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.5663, allocations: 4.531 kB / 1.108 GB, free: 9.926 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.0002696/0.5666, allocations: 367.3 kB / 1.108 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.5666, allocations: 8.688 kB / 1.108 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.5667, allocations: 11.81 kB / 1.108 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.5668, allocations: 180 kB / 1.108 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.5668, allocations: 7.984 kB / 1.109 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-06/0.5669, allocations: 4.844 kB / 1.109 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.654e-05/0.567, allocations: 32.91 kB / 1.109 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.5671, allocations: 89.02 kB / 1.109 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5671, allocations: 0 / 1.109 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.5671, allocations: 0 / 1.109 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.5671, allocations: 4 kB / 1.109 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.5676, allocations: 421.1 kB / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.217e-05/0.5676, allocations: 33.16 kB / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.5676, allocations: 17.84 kB / 1.109 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.5677, allocations: 0.8438 kB / 1.109 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.5677, allocations: 42.59 kB / 1.109 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5677, allocations: 0 / 1.109 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001375/0.5678, allocations: 41.61 kB / 1.109 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.5679, allocations: 77.11 kB / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.451e-05/0.568, allocations: 127.7 kB / 1.109 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.568, allocations: 25.7 kB / 1.109 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.568, allocations: 116 kB / 1.109 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-06/0.5681, allocations: 3.906 kB / 1.109 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-06/0.5681, allocations: 1.125 kB / 1.109 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.5682, allocations: 318.8 kB / 1.11 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.5682, allocations: 11.94 kB / 1.11 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.5682, allocations: 21.7 kB / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.944e-05/0.5682, allocations: 4 kB / 1.11 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5682, allocations: 4 kB / 1.11 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.687e-05/0.5683, allocations: 57.61 kB / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.5683, allocations: 4.219 kB / 1.11 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5683, allocations: 0 / 1.11 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.5684, allocations: 7.922 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.5684, allocations: 11.94 kB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.5684, allocations: 0 / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.967e-05/0.5685, allocations: 10.88 kB / 1.11 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.5685, allocations: 0 / 1.11 GB, free: 7.68 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.114e-05/0.5685, allocations: 109 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.5686, allocations: 7.906 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.5686, allocations: 7.594 kB / 1.11 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5686, allocations: 3.984 kB / 1.11 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5686, allocations: 4.844 kB / 1.11 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5686, allocations: 0 / 1.11 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.569, allocations: 451.3 kB / 1.11 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.569, allocations: 0 / 1.11 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.569, allocations: 8 kB / 1.11 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.569, allocations: 0 / 1.11 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.569, allocations: 0 / 1.11 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.569, allocations: 4 kB / 1.11 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.569, allocations: 4 kB / 1.111 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.805e-05/0.5691, allocations: 92.44 kB / 1.111 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.5692, allocations: 89 kB / 1.111 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.5692, allocations: 0 / 1.111 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.153e-05/0.5692, allocations: 4 kB / 1.111 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.5692, allocations: 0 / 1.111 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.5692, allocations: 0 / 1.111 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.546e-05/0.5693, allocations: 105.9 kB / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001706/0.5695, allocations: 11.91 kB / 1.111 GB, free: 6.695 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.944e-05/0.5696, allocations: 99.28 kB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.417e-05/0.5696, allocations: 16 kB / 1.111 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5696, allocations: 0.6562 kB / 1.111 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.326e-05/0.5697, allocations: 11.94 kB / 1.111 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.496e-05/0.5698, allocations: 7.984 kB / 1.111 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.57, allocations: 100.6 kB / 1.111 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.5702, allocations: 0.721 MB / 1.112 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.5702, allocations: 0 / 1.112 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of Templates: time 0.001811/0.5721, allocations: 374.6 kB / 1.112 GB, free: 5.336 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)