Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.355/1.355, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 191.5 kB / 361.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.004/1.004, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007306/0.0007306, allocations: 96.08 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.446e-06/8.546e-06, allocations: 4 kB / 0.8511 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4094, allocations: 115.3 MB / 0.9637 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.5407, allocations: 136.7 MB / 1.097 GB, free: 3.254 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/0.541, allocations: 70.12 kB / 1.097 GB, free: 3.188 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002114/0.5431, allocations: 0.5576 MB / 1.098 GB, free: 2.668 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.5431, allocations: 0.6875 kB / 1.098 GB, free: 2.668 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.0004036/0.5435, allocations: 370.7 kB / 1.098 GB, free: 2.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.5436, allocations: 8.031 kB / 1.098 GB, free: 2.262 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.5436, allocations: 4.812 kB / 1.098 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.5437, allocations: 171.5 kB / 1.098 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.5437, allocations: 4.5 kB / 1.098 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.5437, allocations: 1.312 kB / 1.098 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.817e-05/0.5438, allocations: 16 kB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.552e-05/0.5439, allocations: 47.66 kB / 1.098 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.5439, allocations: 4.438 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.5439, allocations: 4.844 kB / 1.098 GB, free: 1.973 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.5439, allocations: 1.156 kB / 1.098 GB, free: 1.973 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.5444, allocations: 278.7 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.5e-05/0.5445, allocations: 36.17 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.5445, allocations: 18.94 kB / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.5445, allocations: 0 / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.5446, allocations: 36.94 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.5446, allocations: 0 / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001442/0.5447, allocations: 58.38 kB / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.5448, allocations: 51.41 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.408e-05/0.5448, allocations: 103.1 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.5449, allocations: 25.7 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.5449, allocations: 92.05 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.5449, allocations: 7.844 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.5449, allocations: 0 / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.545, allocations: 322.8 kB / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.545, allocations: 8 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/0.5451, allocations: 8 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.236e-05/0.5451, allocations: 8.516 kB / 1.099 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5451, allocations: 0 / 1.099 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.525e-05/0.5452, allocations: 61.53 kB / 1.099 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.5452, allocations: 4 kB / 1.099 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5452, allocations: 5.203 kB / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.5452, allocations: 0 / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.5454, allocations: 23.98 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.5454, allocations: 4 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.514e-05/0.5455, allocations: 23.89 kB / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.5455, allocations: 0 / 1.1 GB, free: 0.7227 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 5.632e-05/0.5456, allocations: 101 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.5456, allocations: 11.89 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.5456, allocations: 8.656 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.5456, allocations: 0 / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.5457, allocations: 0 / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.5457, allocations: 4 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.5458, allocations: 142.2 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.5458, allocations: 4 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.5459, allocations: 25.84 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5459, allocations: 1.125 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.5459, allocations: 3.906 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.546, allocations: 4 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.546, allocations: 0 / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001186/0.5461, allocations: 156 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.5461, allocations: 77.11 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.5461, allocations: 4 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.5463, allocations: 19.98 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.5463, allocations: 8.688 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.5463, allocations: 0 / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of sort global known variables: time 3.951e-05/0.5464, allocations: 89.06 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of remove unused functions: time 0.0002191/0.5466, allocations: 8.047 kB / 1.1 GB, free: 15.99 MB / 0.7136 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 9.926e-05/0.5467, allocations: 99.03 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.494e-05/0.5468, allocations: 31.94 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.5468, allocations: 0 / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.203e-05/0.5469, allocations: 15.94 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.547, allocations: 4 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.5472, allocations: 86 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.5475, allocations: 0.6915 MB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.5475, allocations: 4 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of Templates: time 0.002035/0.5496, allocations: 0.6225 MB / 1.102 GB, free: 14.43 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)