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.Gain.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.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") [: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.128/2.128, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001615/0.001615, allocations: 185.2 kB / 360.4 MB, free: 7.516 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.648/1.648, 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.001223/0.001223, allocations: 91.84 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.183e-05/1.186e-05, allocations: 4 kB / 0.8503 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5491/0.5492, allocations: 115.2 MB / 0.9628 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.7521, allocations: 136.5 MB / 1.096 GB, free: 4.293 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.7524, allocations: 68.97 kB / 1.096 GB, free: 4.227 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002036/0.7544, allocations: 300.6 kB / 1.096 GB, free: 3.953 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.7545, allocations: 0 / 1.096 GB, free: 3.953 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004617/0.7549, allocations: 337.7 kB / 1.097 GB, free: 3.582 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.755, allocations: 8.031 kB / 1.097 GB, free: 3.574 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.755, allocations: 5.672 kB / 1.097 GB, free: 3.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.7552, allocations: 163.1 kB / 1.097 GB, free: 3.371 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.7552, allocations: 0 / 1.097 GB, free: 3.371 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.7552, allocations: 0.5312 kB / 1.097 GB, free: 3.371 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.772e-05/0.7553, allocations: 13.38 kB / 1.097 GB, free: 3.359 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.793e-05/0.7554, allocations: 43.39 kB / 1.097 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7554, allocations: 0.5938 kB / 1.097 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.7555, allocations: 0.6562 kB / 1.097 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.7555, allocations: 0 / 1.097 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.756, allocations: 246.4 kB / 1.097 GB, free: 3.039 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.253e-05/0.7561, allocations: 30.48 kB / 1.097 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.7561, allocations: 13.58 kB / 1.097 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.7561, allocations: 2.688 kB / 1.097 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.7562, allocations: 31.34 kB / 1.097 GB, free: 2.945 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.074e-06/0.7562, allocations: 0.5938 kB / 1.097 GB, free: 2.945 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001664/0.7564, allocations: 42.33 kB / 1.097 GB, free: 2.898 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.7564, allocations: 51.41 kB / 1.097 GB, free: 2.836 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.34e-05/0.7565, allocations: 98.47 kB / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.7565, allocations: 32.16 kB / 1.098 GB, free: 2.699 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.7566, allocations: 84.67 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.7566, allocations: 4.531 kB / 1.098 GB, free: 2.609 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.7566, allocations: 0 / 1.098 GB, free: 2.609 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.7568, allocations: 315.6 kB / 1.098 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.7568, allocations: 4.562 kB / 1.098 GB, free: 2.289 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.7568, allocations: 4.688 kB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/0.7569, allocations: 8.094 kB / 1.098 GB, free: 2.277 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7569, allocations: 7.906 kB / 1.098 GB, free: 2.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001139/0.757, allocations: 47.41 kB / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.757, allocations: 4 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7571, allocations: 7.938 kB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.7571, allocations: 0 / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.7572, allocations: 11.98 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.7572, allocations: 0 / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.385e-05/0.7574, allocations: 12.03 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.7574, allocations: 0 / 1.098 GB, free: 2.184 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 (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 prepare postOptimizeDAE: time 8.155e-05/0.7575, allocations: 108.7 kB / 1.098 GB, free: 2.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.7575, allocations: 4 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.7575, allocations: 9.234 kB / 1.098 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.7576, allocations: 0.75 kB / 1.098 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7576, allocations: 4 kB / 1.098 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.7576, allocations: 3.906 kB / 1.098 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.7578, allocations: 134.2 kB / 1.098 GB, free: 1.883 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7578, allocations: 0 / 1.098 GB, free: 1.883 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.7579, allocations: 15.98 kB / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7579, allocations: 0 / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.7579, allocations: 0 / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.758, allocations: 3.75 kB / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.758, allocations: 4 kB / 1.098 GB, free: 1.863 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001489/0.7581, allocations: 143.4 kB / 1.098 GB, free: 1.707 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.7582, allocations: 81.11 kB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.7582, allocations: 3.906 kB / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.7584, allocations: 13.05 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.7584, allocations: 4.031 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.7584, allocations: 0 / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.583e-05/0.7585, allocations: 79.28 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000281/0.7588, allocations: 4 kB / 1.099 GB, free: 1.508 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 (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.000147/0.7589, allocations: 95.25 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.474e-05/0.759, allocations: 12 kB / 1.099 GB, free: 1.395 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7591, allocations: 4 kB / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.7591, allocations: 12.06 kB / 1.099 GB, free: 1.379 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.7593, allocations: 6.891 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.7596, allocations: 64.67 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.7599, allocations: 0.6895 MB / 1.099 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/0.76, allocations: 0 / 1.099 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of Templates: time 0.002807/0.7628, allocations: 406.6 kB / 1.1 GB, free: 212 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)