Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.To_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [: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.285/1.285, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.0009188/0.000919, allocations: 181.3 kB / 361.1 MB, free: 7.105 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.009/1.009, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008232/0.0008232, allocations: 92.84 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.254e-06/7.264e-06, allocations: 4 kB / 0.8511 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3905, allocations: 115.3 MB / 0.9637 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.5168, allocations: 136.8 MB / 1.097 GB, free: 3.281 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001655/0.517, allocations: 65.89 kB / 1.097 GB, free: 3.219 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002485/0.5195, allocations: 0.8435 MB / 1.098 GB, free: 2.398 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.5195, allocations: 0.875 kB / 1.098 GB, free: 2.398 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.000269/0.5198, allocations: 367 kB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.5199, allocations: 9.5 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.5199, allocations: 16.83 kB / 1.098 GB, free: 1.973 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.52, allocations: 179.5 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.52, allocations: 4 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.5201, allocations: 4.5 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.801e-05/0.5202, allocations: 32.59 kB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.5203, allocations: 88.7 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.5203, allocations: 0.6562 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.5203, allocations: 2.078 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5203, allocations: 0.8125 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.5208, allocations: 418.1 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.5208, allocations: 37.78 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.5209, allocations: 25.58 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.5209, allocations: 0 / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.5209, allocations: 36.38 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.5209, allocations: 0 / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001625/0.5211, allocations: 43.61 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.5211, allocations: 81.05 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/0.5212, allocations: 122.9 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.5213, allocations: 26.48 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.5213, allocations: 112.6 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-06/0.5213, allocations: 11.89 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.5213, allocations: 0.5 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.994e-05/0.5214, allocations: 311.5 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.5214, allocations: 8.562 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.5215, allocations: 22.34 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/0.5215, allocations: 13.27 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5215, allocations: 224 / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.125e-05/0.5216, allocations: 54.27 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.5216, allocations: 12.56 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5216, allocations: 1.5 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.5216, allocations: 0.5 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.5217, allocations: 4.562 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.5217, allocations: 7.984 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.5218, allocations: 12 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.5218, allocations: 0.5625 kB / 1.1 GB, free: 176 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 5.604e-05/0.5218, allocations: 105.5 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.5219, allocations: 4.625 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.5219, allocations: 12.16 kB / 1.1 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.5219, allocations: 0 / 1.1 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5219, allocations: 1.719 kB / 1.1 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5219, allocations: 4 kB / 1.1 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.5223, allocations: 452.7 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.5223, allocations: 2.094 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.686e-05/0.5223, allocations: 4.562 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5223, allocations: 2.156 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.5223, allocations: 0.7188 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5223, allocations: 3.984 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5223, allocations: 4.188 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.51e-05/0.5224, allocations: 87.47 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.5225, allocations: 94.17 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.5225, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.277e-05/0.5225, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-06/0.5225, allocations: 8.031 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-06/0.5226, allocations: 2.562 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.554e-05/0.5226, allocations: 106.1 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000183/0.5228, allocations: 11.91 kB / 1.101 GB, free: 15.2 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.71e-05/0.5229, allocations: 99.03 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.357e-05/0.523, allocations: 23.94 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.523, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/0.523, allocations: 4.188 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.463e-05/0.5231, allocations: 8.062 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.5233, allocations: 109.1 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.5236, allocations: 0.7075 MB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.5236, allocations: 3.938 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.00175/0.5254, allocations: 387.3 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)