Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_psi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.332/1.332, allocations: 289.8 MB / 297.1 MB, free: 6.73 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.0009307/0.0009307, 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.056/1.056, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0008264/0.0008264, allocations: 86.14 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.635e-06/7.655e-06, allocations: 4 kB / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4248, allocations: 116.3 MB / 0.9726 GB, free: 68.05 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.5568, allocations: 137.7 MB / 1.107 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001631/0.557, allocations: 63.95 kB / 1.107 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002371/0.5594, allocations: 0.8354 MB / 1.108 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.5595, allocations: 4.656 kB / 1.108 GB, free: 9.988 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.0003031/0.5598, allocations: 370.2 kB / 1.108 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.5598, allocations: 8.031 kB / 1.108 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.5598, allocations: 16.66 kB / 1.108 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.56, allocations: 178.8 kB / 1.108 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.56, allocations: 4 kB / 1.109 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.56, allocations: 4 kB / 1.109 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.314e-05/0.5601, allocations: 32 kB / 1.109 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.5602, allocations: 91.28 kB / 1.109 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.5602, allocations: 0 / 1.109 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.5602, allocations: 0 / 1.109 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5603, allocations: 4 kB / 1.109 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.5607, allocations: 421.8 kB / 1.109 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.321e-05/0.5608, allocations: 37.28 kB / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.5608, allocations: 9.719 kB / 1.109 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.5608, allocations: 96 / 1.109 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.5609, allocations: 46.5 kB / 1.109 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.5609, allocations: 0 / 1.109 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001337/0.561, allocations: 37.61 kB / 1.109 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.561, allocations: 85.67 kB / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.752e-05/0.5611, allocations: 120.1 kB / 1.109 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.5612, allocations: 25.7 kB / 1.109 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.5612, allocations: 115.9 kB / 1.109 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.664e-06/0.5612, allocations: 11.97 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.5612, allocations: 0 / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.5613, allocations: 315.4 kB / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.5614, allocations: 8 kB / 1.11 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.5614, allocations: 17.72 kB / 1.11 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.505e-05/0.5614, allocations: 11.98 kB / 1.11 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.5614, allocations: 4 kB / 1.11 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.602e-05/0.5615, allocations: 53.83 kB / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.5615, allocations: 5.219 kB / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.5615, allocations: 7.875 kB / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.5615, allocations: 0 / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.299e-05/0.5616, allocations: 11.98 kB / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.5616, allocations: 0 / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.5617, allocations: 10.31 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.5617, allocations: 4 kB / 1.11 GB, free: 7.734 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.769e-05/0.5617, allocations: 109 kB / 1.11 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.5618, allocations: 7.906 kB / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.5618, allocations: 3.594 kB / 1.11 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5618, allocations: 4 kB / 1.11 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.5618, allocations: 0 / 1.11 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5618, allocations: 3.984 kB / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.5622, allocations: 448.6 kB / 1.11 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5622, allocations: 4.062 kB / 1.11 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.5622, allocations: 7.984 kB / 1.11 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5622, allocations: 0 / 1.11 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.5622, allocations: 0 / 1.11 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5622, allocations: 4 kB / 1.11 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5622, allocations: 4 kB / 1.11 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.35e-05/0.5623, allocations: 95.47 kB / 1.111 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.5624, allocations: 85 kB / 1.111 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.5624, allocations: 4 kB / 1.111 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.128e-05/0.5624, allocations: 0 / 1.111 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-06/0.5624, allocations: 0 / 1.111 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.5624, allocations: 0 / 1.111 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.634e-05/0.5625, allocations: 106.2 kB / 1.111 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001714/0.5627, allocations: 12.94 kB / 1.111 GB, free: 6.754 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.515e-05/0.5628, allocations: 103.3 kB / 1.111 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.837e-05/0.5628, allocations: 16 kB / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.5628, allocations: 0 / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.5629, allocations: 7.938 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.993e-05/0.563, allocations: 8 kB / 1.111 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.5632, allocations: 108.3 kB / 1.111 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.5634, allocations: 0.7155 MB / 1.112 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.5635, allocations: 1.219 kB / 1.112 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of Templates: time 0.001728/0.5652, allocations: 372.6 kB / 1.112 GB, free: 5.391 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1)