Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") [: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.1.4-maint.8.1.x/package.mo): time 1.349/1.349, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001083/0.001083, allocations: 173.3 kB / 366.3 MB, free: 2.016 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.098/1.098, allocations: 205.1 MB / 0.6256 GB, free: 5.867 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.0009281/0.0009281, allocations: 89.55 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.137e-05/1.147e-05, allocations: 7.938 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4321, allocations: 116.3 MB / 0.9726 GB, free: 68.78 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1372/0.5693, allocations: 137.7 MB / 1.107 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001678/0.5695, allocations: 69.83 kB / 1.107 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001426/0.571, allocations: 367.6 kB / 1.107 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.571, allocations: 0 / 1.107 GB, free: 10.38 MB / 0.7136 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.0002896/0.5713, allocations: 337.4 kB / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.5713, allocations: 8.688 kB / 1.108 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.5714, allocations: 3.906 kB / 1.108 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.5715, allocations: 168.2 kB / 1.108 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.5715, allocations: 0.9375 kB / 1.108 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.5715, allocations: 0 / 1.108 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.836e-05/0.5716, allocations: 16.69 kB / 1.108 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.667e-05/0.5716, allocations: 37.7 kB / 1.108 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.451e-06/0.5716, allocations: 0 / 1.108 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.5717, allocations: 4.781 kB / 1.108 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.5717, allocations: 3.984 kB / 1.108 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.572, allocations: 241.5 kB / 1.108 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.523e-05/0.572, allocations: 26.58 kB / 1.108 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.5721, allocations: 12.92 kB / 1.108 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.5721, allocations: 4.781 kB / 1.108 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.5721, allocations: 34.47 kB / 1.108 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.5721, allocations: 0 / 1.108 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001222/0.5723, allocations: 45.69 kB / 1.108 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.5723, allocations: 51.41 kB / 1.108 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.5724, allocations: 89 kB / 1.109 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.5724, allocations: 25.7 kB / 1.109 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.5724, allocations: 84.14 kB / 1.109 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.5724, allocations: 7.906 kB / 1.109 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.5724, allocations: 0.8438 kB / 1.109 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.5725, allocations: 314.8 kB / 1.109 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.5726, allocations: 12.03 kB / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.003e-05/0.5726, allocations: 0 / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.573e-05/0.5726, allocations: 4 kB / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5726, allocations: 0 / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.042e-05/0.5727, allocations: 49.55 kB / 1.109 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.5727, allocations: 4 kB / 1.109 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5727, allocations: 0 / 1.109 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.5727, allocations: 5.062 kB / 1.109 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.424e-05/0.5728, allocations: 16.58 kB / 1.109 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.5728, allocations: 0 / 1.109 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.564e-05/0.5729, allocations: 11.98 kB / 1.109 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.5729, allocations: 0 / 1.109 GB, free: 8.602 MB / 0.7136 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 5.226e-05/0.573, allocations: 108.9 kB / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.573, allocations: 4.5 kB / 1.109 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.761e-05/0.5731, allocations: 52.94 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5731, allocations: 0 / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5731, allocations: 0 / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.5731, allocations: 0 / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.5732, allocations: 138.9 kB / 1.109 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5733, allocations: 0.5625 kB / 1.109 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.082e-05/0.5733, allocations: 20.02 kB / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5733, allocations: 192 / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.5733, allocations: 0 / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.5734, allocations: 4 kB / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5734, allocations: 0 / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.06e-05/0.5735, allocations: 144.3 kB / 1.109 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.5735, allocations: 81.09 kB / 1.11 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.5735, allocations: 0 / 1.11 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/0.5736, allocations: 16.02 kB / 1.11 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.5737, allocations: 0 / 1.11 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.5737, allocations: 0 / 1.11 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.905e-05/0.5737, allocations: 83.19 kB / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001909/0.5739, allocations: 4 kB / 1.11 GB, free: 7.871 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 (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.0001006/0.574, allocations: 107.2 kB / 1.11 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.597e-05/0.5741, allocations: 12.66 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-06/0.5741, allocations: 4 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.882e-05/0.5741, allocations: 8 kB / 1.11 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.5743, allocations: 1.312 kB / 1.11 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001689/0.5744, allocations: 55.92 kB / 1.11 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.5747, allocations: 0.688 MB / 1.111 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of SimCode: time 1.403e-06/0.5747, allocations: 8.062 kB / 1.111 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of Templates: time 0.001743/0.5764, allocations: 400.4 kB / 1.111 GB, free: 6.562 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1)