Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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_psi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [: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.316/1.316, allocations: 289.8 MB / 297 MB, free: 6.637 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.0009181/0.0009181, allocations: 185.2 kB / 366.3 MB, free: 1.98 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.017/1.017, 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.0008207/0.0008206, allocations: 89.41 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.092e-06/6.112e-06, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4156, allocations: 116.3 MB / 0.9726 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.5537, allocations: 137.7 MB / 1.107 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.5539, allocations: 59.97 kB / 1.107 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002516/0.5564, allocations: 0.838 MB / 1.108 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.5565, allocations: 0 / 1.108 GB, free: 9.945 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.0003036/0.5568, allocations: 370.9 kB / 1.108 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.5568, allocations: 15.97 kB / 1.108 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.5569, allocations: 11.81 kB / 1.108 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.557, allocations: 179.5 kB / 1.108 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.557, allocations: 0 / 1.108 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.5571, allocations: 8 kB / 1.108 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.2e-05/0.5572, allocations: 32.55 kB / 1.109 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.5573, allocations: 90.22 kB / 1.109 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5573, allocations: 0 / 1.109 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.5573, allocations: 4.656 kB / 1.109 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5573, allocations: 3.984 kB / 1.109 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.5579, allocations: 418 kB / 1.109 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.727e-05/0.5579, allocations: 41.34 kB / 1.109 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.558, allocations: 13.78 kB / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.558, allocations: 4 kB / 1.109 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.558, allocations: 30.56 kB / 1.109 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.558, allocations: 0.5625 kB / 1.109 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001541/0.5582, allocations: 53.53 kB / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.5582, allocations: 77.11 kB / 1.109 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.5583, allocations: 122.4 kB / 1.109 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.5583, allocations: 25.7 kB / 1.109 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.5584, allocations: 112 kB / 1.109 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.5584, allocations: 12.75 kB / 1.109 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.5584, allocations: 0 / 1.109 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.5585, allocations: 314.8 kB / 1.11 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.5585, allocations: 8 kB / 1.11 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.141e-05/0.5586, allocations: 17.72 kB / 1.11 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.331e-05/0.5586, allocations: 16 kB / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5586, allocations: 0 / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.87e-05/0.5587, allocations: 57.53 kB / 1.11 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.5587, allocations: 4 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5587, allocations: 3.859 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.5587, allocations: 4 kB / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.5588, allocations: 7.938 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.5588, allocations: 0 / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.5588, allocations: 14.94 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.5588, allocations: 0 / 1.11 GB, free: 7.691 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.783e-05/0.5589, allocations: 105 kB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.559, allocations: 7.906 kB / 1.11 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.559, allocations: 16.98 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.559, allocations: 0 / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.559, allocations: 3.938 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.559, allocations: 0.6875 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.5593, allocations: 451.4 kB / 1.11 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5593, allocations: 0 / 1.11 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.5594, allocations: 4 kB / 1.11 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5594, allocations: 0 / 1.11 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.5594, allocations: 9 kB / 1.11 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.5594, allocations: 0 / 1.11 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5594, allocations: 0 / 1.11 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.35e-05/0.5595, allocations: 91.58 kB / 1.111 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.5595, allocations: 89.02 kB / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.5596, allocations: 0 / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.135e-05/0.5596, allocations: 0 / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.5596, allocations: 2.656 kB / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.5596, allocations: 7.984 kB / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.05e-05/0.5597, allocations: 100.5 kB / 1.111 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000167/0.5599, allocations: 11.91 kB / 1.111 GB, free: 6.711 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 9.429e-05/0.56, allocations: 99.28 kB / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.78e-05/0.56, allocations: 23.92 kB / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.56, allocations: 0 / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.56, allocations: 8 kB / 1.111 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.236e-05/0.5601, allocations: 3.062 kB / 1.111 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.5604, allocations: 108.5 kB / 1.111 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.5607, allocations: 0.7213 MB / 1.112 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.5607, allocations: 0 / 1.112 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of Templates: time 0.001789/0.5625, allocations: 375.9 kB / 1.112 GB, free: 5.344 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1)