Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") [: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.0.1-maint.8.0.x/package.mo): time 1.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009395/0.0009395, allocations: 181.3 kB / 361.1 MB, free: 7.07 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.003/1.003, allocations: 205.1 MB / 0.6195 GB, free: 11.89 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.0008081/0.000808, allocations: 83.25 kB / 0.7325 GB, free: 44.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.686e-06/8.796e-06, allocations: 4 kB / 0.8511 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.423, allocations: 115.3 MB / 0.9637 GB, free: 77.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.5545, allocations: 136.8 MB / 1.097 GB, free: 3.355 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001596/0.5547, allocations: 65.7 kB / 1.097 GB, free: 3.293 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00238/0.5571, allocations: 0.833 MB / 1.098 GB, free: 2.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.5571, allocations: 0 / 1.098 GB, free: 2.48 MB / 0.698 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.0002666/0.5574, allocations: 367.7 kB / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.5574, allocations: 8.562 kB / 1.098 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.5575, allocations: 12.31 kB / 1.098 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.5576, allocations: 185.7 kB / 1.099 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.5576, allocations: 4.5 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.5577, allocations: 5.438 kB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.965e-05/0.5577, allocations: 39.98 kB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.5579, allocations: 86.28 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.5579, allocations: 3.281 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.5579, allocations: 0 / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5579, allocations: 2.859 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.5584, allocations: 413.6 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.336e-05/0.5584, allocations: 43.41 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.5585, allocations: 17.78 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.5585, allocations: 0 / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.5585, allocations: 31.84 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.5585, allocations: 0 / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001471/0.5587, allocations: 54.22 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.5587, allocations: 78.3 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.546e-05/0.5588, allocations: 122.1 kB / 1.1 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.5588, allocations: 26.3 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.5589, allocations: 112.8 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.553e-06/0.5589, allocations: 3.906 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.5589, allocations: 0.5312 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.559, allocations: 319.5 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.559, allocations: 4.656 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.175e-05/0.559, allocations: 22.47 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.365e-05/0.5591, allocations: 14.78 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5591, allocations: 0 / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.294e-05/0.5592, allocations: 61.53 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.5592, allocations: 4.219 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5592, allocations: 4 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.517e-06/0.5592, allocations: 3.938 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.5593, allocations: 4 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5593, allocations: 0 / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.5593, allocations: 14.31 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.5593, allocations: 6.328 kB / 1.1 GB, free: 252 kB / 0.698 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 4.848e-05/0.5594, allocations: 101 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.5594, allocations: 10.7 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.5595, allocations: 15.58 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5595, allocations: 0 / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5595, allocations: 0 / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.5595, allocations: 0 / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.5599, allocations: 455.3 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.5599, allocations: 4 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.5599, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.5599, allocations: 4 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.5599, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5599, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5599, allocations: 3.938 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.355e-05/0.56, allocations: 96.45 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.5601, allocations: 85.02 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.5601, allocations: 0 / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.5601, allocations: 0 / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.5601, allocations: 8.734 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.5601, allocations: 0 / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.723e-05/0.5602, allocations: 108.6 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001719/0.5604, allocations: 15.94 kB / 1.101 GB, free: 15.27 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.991e-05/0.5605, allocations: 99.03 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.675e-05/0.5606, allocations: 23.92 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5606, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.129e-05/0.5606, allocations: 4 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.166e-05/0.5607, allocations: 4 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.5609, allocations: 109.3 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.5611, allocations: 0.7179 MB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.5612, allocations: 0 / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.00178/0.5629, allocations: 379.3 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)