Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") [: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.152/2.152, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001581/0.00158, allocations: 177.3 kB / 360.4 MB, free: 7.492 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.659/1.659, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001212/0.001212, allocations: 90.66 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.552e-05/1.566e-05, allocations: 4 kB / 0.8503 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5464/0.5464, allocations: 115.2 MB / 0.9628 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.7506, allocations: 136.5 MB / 1.096 GB, free: 4.176 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.7509, allocations: 72.56 kB / 1.096 GB, free: 4.105 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003009/0.7539, allocations: 0.5221 MB / 1.097 GB, free: 3.625 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.7539, allocations: 0.6875 kB / 1.097 GB, free: 3.625 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005648/0.7545, allocations: 359.5 kB / 1.097 GB, free: 3.234 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.7545, allocations: 12.03 kB / 1.097 GB, free: 3.223 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.7546, allocations: 4.5 kB / 1.097 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.7547, allocations: 171.6 kB / 1.097 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.7547, allocations: 0.5156 kB / 1.097 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.7548, allocations: 0.5 kB / 1.097 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001128/0.7549, allocations: 20 kB / 1.097 GB, free: 2.992 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.755, allocations: 42.28 kB / 1.097 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.755, allocations: 1.562 kB / 1.097 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.755, allocations: 0 / 1.097 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.7551, allocations: 0.5312 kB / 1.097 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.7557, allocations: 287.3 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.242e-05/0.7558, allocations: 42.5 kB / 1.098 GB, free: 2.578 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.7558, allocations: 16.86 kB / 1.098 GB, free: 2.559 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.7559, allocations: 1.969 kB / 1.098 GB, free: 2.559 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.7559, allocations: 33.23 kB / 1.098 GB, free: 2.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.7559, allocations: 2.156 kB / 1.098 GB, free: 2.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001786/0.7561, allocations: 49.61 kB / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.7561, allocations: 51.41 kB / 1.098 GB, free: 2.402 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.968e-05/0.7562, allocations: 105.1 kB / 1.098 GB, free: 2.293 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.7563, allocations: 25.7 kB / 1.098 GB, free: 2.262 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.7563, allocations: 84.14 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.7563, allocations: 7.812 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.7563, allocations: 0 / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.7565, allocations: 326.8 kB / 1.098 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.631e-05/0.7565, allocations: 8 kB / 1.098 GB, free: 1.832 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.201e-05/0.7565, allocations: 4 kB / 1.098 GB, free: 1.828 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.516e-05/0.7566, allocations: 8.516 kB / 1.098 GB, free: 1.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7566, allocations: 4 kB / 1.098 GB, free: 1.816 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001215/0.7567, allocations: 53.59 kB / 1.098 GB, free: 1.758 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.7568, allocations: 8 kB / 1.098 GB, free: 1.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.7568, allocations: 0.5625 kB / 1.098 GB, free: 1.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.7568, allocations: 3.938 kB / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.757, allocations: 23.98 kB / 1.098 GB, free: 1.723 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.757, allocations: 0 / 1.098 GB, free: 1.723 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.7572, allocations: 15.98 kB / 1.098 GB, free: 1.707 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.7572, allocations: 7.984 kB / 1.098 GB, free: 1.699 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.008e-05/0.7573, allocations: 110 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.7573, allocations: 3.906 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.7574, allocations: 14.25 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.7574, allocations: 4.688 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7574, allocations: 0 / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7574, allocations: 0 / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.7576, allocations: 146.1 kB / 1.099 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7576, allocations: 0 / 1.099 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.7578, allocations: 29.16 kB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7578, allocations: 0 / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.7578, allocations: 0 / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.7578, allocations: 0 / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7578, allocations: 0 / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001509/0.758, allocations: 152 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.7581, allocations: 81.02 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.7581, allocations: 4 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.7583, allocations: 15.98 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.7583, allocations: 10.08 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.7584, allocations: 8 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.229e-05/0.7584, allocations: 79.28 kB / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002668/0.7587, allocations: 7.938 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001272/0.7588, allocations: 103.2 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.759, allocations: 23.98 kB / 1.099 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.759, allocations: 0 / 1.099 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.079e-05/0.759, allocations: 12 kB / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.7593, allocations: 13.22 kB / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.7596, allocations: 84.41 kB / 1.099 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.7599, allocations: 0.6915 MB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.7599, allocations: 0 / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.003087/0.763, allocations: 0.6094 MB / 1.101 GB, free: 15.42 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)