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_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [: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.294/1.294, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0008901/0.00089, allocations: 177.3 kB / 361.1 MB, free: 7.086 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.006/1.006, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008095/0.0008093, allocations: 93.61 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.584e-06/7.694e-06, allocations: 4 kB / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4097, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.54, allocations: 136.8 MB / 1.097 GB, free: 3.312 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001783/0.5402, allocations: 68.66 kB / 1.097 GB, free: 3.246 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002457/0.5427, allocations: 0.8394 MB / 1.098 GB, free: 2.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5427, allocations: 0 / 1.098 GB, free: 2.43 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.0002723/0.543, allocations: 372 kB / 1.098 GB, free: 2.023 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.543, allocations: 8.031 kB / 1.098 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.5431, allocations: 14.88 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.5432, allocations: 178.9 kB / 1.099 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.5432, allocations: 4 kB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.5433, allocations: 5.312 kB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.869e-05/0.5434, allocations: 32 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.5435, allocations: 92.05 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.5435, allocations: 1.266 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.5435, allocations: 0 / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.5435, allocations: 0 / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.544, allocations: 420.9 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.195e-05/0.5441, allocations: 43.84 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/0.5441, allocations: 14.47 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.5441, allocations: 0.6562 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.5441, allocations: 35.59 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5441, allocations: 0.7188 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001451/0.5443, allocations: 46.11 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.5443, allocations: 77.61 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.255e-05/0.5444, allocations: 121.8 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.5444, allocations: 27.17 kB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.5445, allocations: 116 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.5445, allocations: 7.906 kB / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.5445, allocations: 0 / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.5446, allocations: 311.7 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.5446, allocations: 8.594 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.5447, allocations: 27.16 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.273e-05/0.5447, allocations: 8.562 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5447, allocations: 0.5312 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.438e-05/0.5448, allocations: 54.58 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.5448, allocations: 4 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5448, allocations: 4.531 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.5448, allocations: 7.766 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.5449, allocations: 4 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.5449, allocations: 0 / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/0.5449, allocations: 16.25 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.545, allocations: 0.625 kB / 1.1 GB, free: 216 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.914e-05/0.545, allocations: 105.5 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.5451, allocations: 11.91 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.5451, allocations: 8.203 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5451, allocations: 0 / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5451, allocations: 4.516 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.5451, allocations: 0.5312 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.5455, allocations: 456.1 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.5455, allocations: 7.984 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.5455, allocations: 0 / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5455, allocations: 6.188 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.5455, allocations: 0.5156 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5455, allocations: 3.938 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5455, allocations: 0 / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.393e-05/0.5456, allocations: 93.28 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.5457, allocations: 89 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.5457, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.272e-05/0.5457, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.5457, allocations: 4 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.5457, allocations: 1.734 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.942e-05/0.5458, allocations: 105.3 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001869/0.546, allocations: 12.56 kB / 1.101 GB, free: 15.23 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.676e-05/0.5461, allocations: 106 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.985e-05/0.5462, allocations: 23.94 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.5462, allocations: 0 / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.176e-05/0.5462, allocations: 4 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.5463, allocations: 1.312 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.5466, allocations: 117.5 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.5468, allocations: 0.7152 MB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.5468, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.001858/0.5487, allocations: 372.5 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)