Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [: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.312/1.312, allocations: 289.8 MB / 297.1 MB, free: 6.598 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.0009291/0.000929, allocations: 181.3 kB / 366.3 MB, free: 1.91 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.028/1.028, 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.0007739/0.0007739, allocations: 93.12 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.512e-06/6.643e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4225, allocations: 116.3 MB / 0.9726 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.5566, allocations: 137.7 MB / 1.107 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000179/0.5568, allocations: 71.89 kB / 1.107 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.00246/0.5593, allocations: 0.8392 MB / 1.108 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.5593, allocations: 4 kB / 1.108 GB, free: 9.809 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.0002772/0.5596, allocations: 371 kB / 1.108 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.5597, allocations: 8.031 kB / 1.108 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.5597, allocations: 15.81 kB / 1.108 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.5598, allocations: 174.9 kB / 1.109 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.5599, allocations: 8 kB / 1.109 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.5599, allocations: 4 kB / 1.109 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.197e-05/0.56, allocations: 35.98 kB / 1.109 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.5601, allocations: 83.31 kB / 1.109 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.5601, allocations: 0 / 1.109 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.5601, allocations: 0 / 1.109 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5601, allocations: 4.656 kB / 1.109 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.5606, allocations: 421.1 kB / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.192e-05/0.5606, allocations: 37.16 kB / 1.109 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.5607, allocations: 13.84 kB / 1.109 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-06/0.5607, allocations: 4 kB / 1.109 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.5607, allocations: 38.59 kB / 1.109 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5607, allocations: 0 / 1.109 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001449/0.5609, allocations: 46.34 kB / 1.109 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.5609, allocations: 81.11 kB / 1.109 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.561, allocations: 124.3 kB / 1.109 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.561, allocations: 29.77 kB / 1.109 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.505e-05/0.5611, allocations: 108 kB / 1.109 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-06/0.5611, allocations: 3.906 kB / 1.109 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.5611, allocations: 3.938 kB / 1.109 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.5612, allocations: 322.8 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.5612, allocations: 9.031 kB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/0.5612, allocations: 17.72 kB / 1.11 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.133e-05/0.5613, allocations: 12 kB / 1.11 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5613, allocations: 0 / 1.11 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.592e-05/0.5614, allocations: 57.59 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.5614, allocations: 4.219 kB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5614, allocations: 0 / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.5614, allocations: 3.938 kB / 1.11 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.5615, allocations: 12.03 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.5615, allocations: 0 / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.5615, allocations: 10.31 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.5615, allocations: 9.203 kB / 1.11 GB, free: 7.551 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.691e-05/0.5616, allocations: 105 kB / 1.11 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.5616, allocations: 7.906 kB / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.5617, allocations: 11.58 kB / 1.11 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5617, allocations: 4 kB / 1.11 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.5617, allocations: 0 / 1.11 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.5617, allocations: 0 / 1.11 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.562, allocations: 455.3 kB / 1.11 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.562, allocations: 0 / 1.11 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.5621, allocations: 4 kB / 1.11 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5621, allocations: 0 / 1.11 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.5621, allocations: 0 / 1.11 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5621, allocations: 4 kB / 1.111 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.5621, allocations: 1.219 kB / 1.111 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.7e-05/0.5622, allocations: 95.52 kB / 1.111 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.5622, allocations: 85.02 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.5622, allocations: 4 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.131e-05/0.5623, allocations: 0 / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.5623, allocations: 7.984 kB / 1.111 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.5623, allocations: 0 / 1.111 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.336e-05/0.5623, allocations: 100.1 kB / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000166/0.5625, allocations: 11.91 kB / 1.111 GB, free: 6.57 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.488e-05/0.5626, allocations: 99.28 kB / 1.111 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.222e-05/0.5627, allocations: 19.98 kB / 1.111 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5627, allocations: 0 / 1.111 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.5627, allocations: 11.94 kB / 1.111 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.824e-05/0.5628, allocations: 6.969 kB / 1.111 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.563, allocations: 108.6 kB / 1.111 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.5633, allocations: 0.7152 MB / 1.112 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.5633, allocations: 0 / 1.112 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of Templates: time 0.00176/0.5651, allocations: 372.4 kB / 1.112 GB, free: 5.207 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1)