Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.1.4-maint.8.1.x/package.mo): time 1.337/1.337, allocations: 289.8 MB / 297.1 MB, free: 6.621 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.0009575/0.0009574, allocations: 183.9 kB / 366.3 MB, free: 1.93 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.047/1.047, allocations: 205.1 MB / 0.6256 GB, free: 5.754 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.0007946/0.0007946, allocations: 92.5 kB / 0.7396 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.353e-06/7.374e-06, allocations: 0 / 0.859 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4341, allocations: 116.3 MB / 0.9726 GB, free: 68.42 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.5655, allocations: 137.7 MB / 1.107 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001704/0.5657, allocations: 71.95 kB / 1.107 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002317/0.568, allocations: 0.8459 MB / 1.108 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.568, allocations: 0 / 1.108 GB, free: 9.773 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.000289/0.5683, allocations: 366.2 kB / 1.108 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.5684, allocations: 10.28 kB / 1.108 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.5684, allocations: 11.81 kB / 1.108 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.5686, allocations: 174.9 kB / 1.108 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.5686, allocations: 0 / 1.108 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.5686, allocations: 15.94 kB / 1.109 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.509e-05/0.5687, allocations: 32 kB / 1.109 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.5688, allocations: 83.3 kB / 1.109 GB, free: 9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.351e-06/0.5688, allocations: 4 kB / 1.109 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.5688, allocations: 0 / 1.109 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.5689, allocations: 0 / 1.109 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.5693, allocations: 421.1 kB / 1.109 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.276e-05/0.5694, allocations: 37.22 kB / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.704e-05/0.5694, allocations: 25.77 kB / 1.109 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.5694, allocations: 0 / 1.109 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.5694, allocations: 34.59 kB / 1.109 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5694, allocations: 0 / 1.109 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001491/0.5696, allocations: 45.61 kB / 1.109 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.5696, allocations: 77.11 kB / 1.109 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.5697, allocations: 127.7 kB / 1.109 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.5698, allocations: 25.7 kB / 1.109 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.5698, allocations: 112 kB / 1.109 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-06/0.5698, allocations: 7.906 kB / 1.109 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.5698, allocations: 0 / 1.109 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.5699, allocations: 314.8 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.57, allocations: 5.875 kB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.536e-05/0.57, allocations: 29.64 kB / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.074e-05/0.57, allocations: 12 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.57, allocations: 0 / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.967e-05/0.5701, allocations: 53.83 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.5701, allocations: 4 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5701, allocations: 7.938 kB / 1.11 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.5701, allocations: 3.984 kB / 1.11 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.5702, allocations: 7.938 kB / 1.11 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.5702, allocations: 0 / 1.11 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.5703, allocations: 18.38 kB / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.5703, allocations: 0 / 1.11 GB, free: 7.52 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.654e-05/0.5703, allocations: 101 kB / 1.11 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.5704, allocations: 7.906 kB / 1.11 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.5704, allocations: 7.594 kB / 1.11 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.5704, allocations: 0 / 1.11 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5704, allocations: 3.984 kB / 1.11 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.5704, allocations: 0 / 1.11 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.5707, allocations: 451.3 kB / 1.11 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.5708, allocations: 7.984 kB / 1.11 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.5708, allocations: 0.8438 kB / 1.11 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5708, allocations: 4 kB / 1.11 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.5708, allocations: 0 / 1.11 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5708, allocations: 0 / 1.11 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.5708, allocations: 0 / 1.11 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.625e-05/0.5709, allocations: 91.59 kB / 1.111 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.5709, allocations: 89 kB / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.571, allocations: 4 kB / 1.111 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.11e-05/0.571, allocations: 3.938 kB / 1.111 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-06/0.571, allocations: 5.688 kB / 1.111 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.571, allocations: 0 / 1.111 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.439e-05/0.5711, allocations: 113.8 kB / 1.111 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000166/0.5712, allocations: 11.91 kB / 1.111 GB, free: 6.535 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.264e-05/0.5713, allocations: 95.25 kB / 1.111 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.905e-05/0.5714, allocations: 16 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.5714, allocations: 0 / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.268e-05/0.5714, allocations: 7.938 kB / 1.111 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.956e-05/0.5715, allocations: 4.516 kB / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.5717, allocations: 112.5 kB / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.572, allocations: 0.7114 MB / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.572, allocations: 0 / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of Templates: time 0.001748/0.5738, allocations: 374 kB / 1.112 GB, free: 5.191 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)