Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_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.184/2.184, allocations: 284.9 MB / 292.2 MB, free: 10.79 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.001588/0.001588, allocations: 177.3 kB / 360.4 MB, free: 7.531 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.603/1.603, allocations: 205.1 MB / 0.6188 GB, free: 12.44 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.001247/0.001246, allocations: 89.38 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.797e-06/8.816e-06, allocations: 0 / 0.8502 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5497/0.5497, allocations: 115.2 MB / 0.9628 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1993/0.7491, allocations: 136.6 MB / 1.096 GB, free: 4.18 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.7493, allocations: 64.58 kB / 1.096 GB, free: 4.117 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003765/0.7531, allocations: 0.842 MB / 1.097 GB, free: 3.301 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.7531, allocations: 0 / 1.097 GB, free: 3.301 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.0003603/0.7535, allocations: 362.7 kB / 1.097 GB, free: 2.902 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.7536, allocations: 11.78 kB / 1.097 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.7536, allocations: 11.81 kB / 1.097 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.7538, allocations: 180.5 kB / 1.098 GB, free: 2.668 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.7539, allocations: 7.984 kB / 1.098 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.7539, allocations: 4 kB / 1.098 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001353/0.754, allocations: 32 kB / 1.098 GB, free: 2.625 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.7542, allocations: 88.19 kB / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.7542, allocations: 0 / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.7543, allocations: 1.219 kB / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.7543, allocations: 0 / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006458/0.7549, allocations: 417.9 kB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.958e-05/0.755, allocations: 43.27 kB / 1.098 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.7551, allocations: 14.47 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.7551, allocations: 4.281 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.7551, allocations: 34.56 kB / 1.098 GB, free: 1.961 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.7551, allocations: 4 kB / 1.098 GB, free: 1.957 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001839/0.7553, allocations: 51.45 kB / 1.098 GB, free: 1.902 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.7554, allocations: 77.11 kB / 1.098 GB, free: 1.809 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.7555, allocations: 121.6 kB / 1.098 GB, free: 1.684 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.7555, allocations: 29.7 kB / 1.098 GB, free: 1.648 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.7556, allocations: 112 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.7556, allocations: 4.406 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.7556, allocations: 0 / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.7558, allocations: 323.7 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.778e-05/0.7558, allocations: 5.125 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.7558, allocations: 17.72 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.787e-05/0.7559, allocations: 9.125 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7559, allocations: 0.5938 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000129/0.756, allocations: 59.84 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7561, allocations: 8 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.7561, allocations: 0.875 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.7561, allocations: 0.5312 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.7562, allocations: 8.641 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.7562, allocations: 4.844 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.7563, allocations: 10.31 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.7563, allocations: 4.594 kB / 1.099 GB, free: 1.078 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.362e-05/0.7564, allocations: 112.2 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.7565, allocations: 3.906 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.7565, allocations: 13.08 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.7565, allocations: 0 / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7565, allocations: 0 / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.7565, allocations: 5.297 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.757, allocations: 452.7 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7571, allocations: 192 / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.7571, allocations: 8.875 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7571, allocations: 0 / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.7571, allocations: 0 / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.7572, allocations: 3.938 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7572, allocations: 0 / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001153/0.7573, allocations: 95.52 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.7574, allocations: 85.89 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.7574, allocations: 0 / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.7574, allocations: 7.984 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.7575, allocations: 0.7031 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.7575, allocations: 2.625 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of sort global known variables: time 8.408e-05/0.7576, allocations: 101 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002636/0.7578, allocations: 11.91 kB / 1.1 GB, free: 108 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.0001298/0.758, allocations: 103.3 kB / 1.1 GB, free: 16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.746e-05/0.7581, allocations: 23.94 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7581, allocations: 0 / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-05/0.7581, allocations: 4 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.7583, allocations: 5.203 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.7586, allocations: 109.1 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.7589, allocations: 0.7155 MB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.7589, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.002853/0.7618, allocations: 374.5 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)