Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.192/2.192, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001559/0.001558, allocations: 185.2 kB / 360.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.1 MB / 0.6188 GB, free: 12.4 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001236/0.001235, allocations: 86.72 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.834e-06/7.855e-06, allocations: 0 / 0.8502 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.543/0.5431, allocations: 115.2 MB / 0.9628 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.7417, allocations: 136.6 MB / 1.096 GB, free: 4.148 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.742, allocations: 64.72 kB / 1.096 GB, free: 4.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003765/0.7458, allocations: 0.8449 MB / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.7458, allocations: 4 kB / 1.097 GB, free: 3.266 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.0003639/0.7462, allocations: 363.5 kB / 1.097 GB, free: 2.867 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.7463, allocations: 12.53 kB / 1.097 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.7463, allocations: 12.31 kB / 1.097 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.7465, allocations: 183.4 kB / 1.098 GB, free: 2.625 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.7465, allocations: 0 / 1.098 GB, free: 2.625 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.7466, allocations: 4.844 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001339/0.7467, allocations: 32 kB / 1.098 GB, free: 2.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.7469, allocations: 89.25 kB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.7469, allocations: 0 / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.7469, allocations: 4 kB / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.747, allocations: 0.6562 kB / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.7476, allocations: 420 kB / 1.098 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.253e-05/0.7477, allocations: 41.34 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.7477, allocations: 19.28 kB / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.7478, allocations: 0.5625 kB / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.7478, allocations: 31.22 kB / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.7478, allocations: 0.6875 kB / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001954/0.748, allocations: 56.12 kB / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.7481, allocations: 77.83 kB / 1.098 GB, free: 1.773 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.7482, allocations: 123 kB / 1.098 GB, free: 1.645 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.7482, allocations: 26.3 kB / 1.098 GB, free: 1.613 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.7483, allocations: 108.8 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.093e-05/0.7483, allocations: 7.906 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.7483, allocations: 0 / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7485, allocations: 320.1 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.127e-05/0.7485, allocations: 11.75 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.7486, allocations: 21.78 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.7486, allocations: 8 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7486, allocations: 0 / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001314/0.7488, allocations: 61.53 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.7488, allocations: 4.219 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.7488, allocations: 0 / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.7488, allocations: 7.938 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.796e-05/0.7489, allocations: 8.062 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.7489, allocations: 0 / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.749, allocations: 10.31 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.749, allocations: 4 kB / 1.099 GB, free: 1.035 MB / 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 7.29e-05/0.7491, allocations: 106 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.7492, allocations: 7.906 kB / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.7492, allocations: 15.58 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7492, allocations: 0 / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7492, allocations: 0 / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.7492, allocations: 0 / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.7497, allocations: 456.7 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7497, allocations: 1.125 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.7498, allocations: 4 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.7498, allocations: 0 / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.7498, allocations: 4 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7498, allocations: 0 / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.7499, allocations: 3.938 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000113/0.75, allocations: 91.58 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.75, allocations: 89.02 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.7501, allocations: 6.297 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.523e-05/0.7501, allocations: 0 / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.7501, allocations: 0 / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.7502, allocations: 8.031 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of sort global known variables: time 7.957e-05/0.7502, allocations: 96.84 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.000255/0.7505, allocations: 11.91 kB / 1.1 GB, free: 60 kB / 0.698 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 0.0001295/0.7507, allocations: 99.23 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.365e-05/0.7508, allocations: 19.94 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7508, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.389e-05/0.7508, allocations: 8 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.7509, allocations: 9.453 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.7513, allocations: 113.6 kB / 1.1 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.7516, allocations: 0.7113 MB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/0.7516, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.002838/0.7544, allocations: 376.4 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)