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_gal.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_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [: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.104/2.104, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.001592/0.001592, allocations: 189.2 kB / 360.4 MB, free: 7.488 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.6/1.6, allocations: 205.1 MB / 0.6188 GB, free: 12.42 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.001245/0.001244, allocations: 92.73 kB / 0.7318 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.081e-05/1.066e-05, allocations: 4 kB / 0.8503 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5478/0.5478, allocations: 115.2 MB / 0.9628 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1988/0.7467, allocations: 136.6 MB / 1.096 GB, free: 3.434 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.747, allocations: 59.97 kB / 1.096 GB, free: 3.375 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003852/0.7508, allocations: 0.8424 MB / 1.097 GB, free: 2.559 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.7509, allocations: 6.844 kB / 1.097 GB, free: 2.555 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.000411/0.7513, allocations: 366.9 kB / 1.097 GB, free: 2.152 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.7514, allocations: 12.03 kB / 1.097 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.7514, allocations: 11.81 kB / 1.097 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.7516, allocations: 182 kB / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.7517, allocations: 1 kB / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.7517, allocations: 4 kB / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001496/0.7518, allocations: 37.17 kB / 1.098 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.752, allocations: 84.84 kB / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.7521, allocations: 0.8125 kB / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.7521, allocations: 0 / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.7521, allocations: 4.531 kB / 1.098 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007387/0.7528, allocations: 421.6 kB / 1.098 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.281e-05/0.7529, allocations: 43.92 kB / 1.098 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.753, allocations: 11.67 kB / 1.098 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.753, allocations: 4.062 kB / 1.098 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.7531, allocations: 37.34 kB / 1.098 GB, free: 1.207 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.7531, allocations: 0.5 kB / 1.098 GB, free: 1.207 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002028/0.7533, allocations: 46.23 kB / 1.098 GB, free: 1.156 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.7533, allocations: 81.94 kB / 1.098 GB, free: 1.059 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.7535, allocations: 127.7 kB / 1.098 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.7535, allocations: 25.7 kB / 1.098 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.7536, allocations: 108 kB / 1.099 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.7537, allocations: 11.91 kB / 1.099 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.7537, allocations: 0 / 1.099 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7538, allocations: 310.8 kB / 1.099 GB, free: 476 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-05/0.7538, allocations: 9.469 kB / 1.099 GB, free: 468 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.424e-05/0.7539, allocations: 26.25 kB / 1.099 GB, free: 440 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.011e-05/0.754, allocations: 12.56 kB / 1.099 GB, free: 428 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.754, allocations: 1.25 kB / 1.099 GB, free: 428 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000134/0.7541, allocations: 53.55 kB / 1.099 GB, free: 368 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.7541, allocations: 8.109 kB / 1.099 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7542, allocations: 4.219 kB / 1.099 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.7542, allocations: 4 kB / 1.099 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.7543, allocations: 7.938 kB / 1.099 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.7543, allocations: 0 / 1.099 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.917e-05/0.7544, allocations: 10.31 kB / 1.099 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.7544, allocations: 4 kB / 1.099 GB, free: 332 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 7.764e-05/0.7545, allocations: 104.8 kB / 1.099 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.7546, allocations: 11.91 kB / 1.099 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.7546, allocations: 15.58 kB / 1.099 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.7546, allocations: 0.5156 kB / 1.099 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.7546, allocations: 0 / 1.099 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7547, allocations: 0 / 1.099 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.7552, allocations: 451.3 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.7552, allocations: 1.562 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.7553, allocations: 4 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.7553, allocations: 0 / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.7553, allocations: 8.062 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.7553, allocations: 0 / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.7553, allocations: 4.641 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001257/0.7555, allocations: 91.52 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.7555, allocations: 85.02 kB / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.7556, allocations: 4.031 kB / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.673e-05/0.7556, allocations: 0 / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.7556, allocations: 0 / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.7557, allocations: 5.562 kB / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.427e-05/0.7558, allocations: 102.1 kB / 1.1 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002581/0.756, allocations: 11.91 kB / 1.1 GB, free: 15.35 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 0.0001298/0.7562, allocations: 95.25 kB / 1.1 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.7563, allocations: 28 kB / 1.1 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7563, allocations: 0 / 1.1 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-05/0.7563, allocations: 7.984 kB / 1.1 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.7565, allocations: 9.203 kB / 1.1 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.7569, allocations: 105.1 kB / 1.1 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/0.7573, allocations: 0.7216 MB / 1.101 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/0.7573, allocations: 0 / 1.101 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of Templates: time 0.002987/0.7603, allocations: 370.1 kB / 1.101 GB, free: 14 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)