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.Atan.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.Atan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.325/1.325, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001012/0.001012, allocations: 181.3 kB / 361.1 MB, free: 7.07 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.048/1.048, allocations: 205.1 MB / 0.6195 GB, free: 11.89 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.0007388/0.0007388, allocations: 91.69 kB / 0.7326 GB, free: 44.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.037e-06/9.047e-06, allocations: 4 kB / 0.8511 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4433, allocations: 115.3 MB / 0.9637 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.5811, allocations: 136.7 MB / 1.097 GB, free: 3.359 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.5813, allocations: 72.66 kB / 1.097 GB, free: 3.289 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.001538/0.5829, allocations: 377.7 kB / 1.098 GB, free: 2.945 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.5829, allocations: 0 / 1.098 GB, free: 2.945 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.0003276/0.5832, allocations: 325.9 kB / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.5833, allocations: 8.031 kB / 1.098 GB, free: 2.578 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.5833, allocations: 8.625 kB / 1.098 GB, free: 2.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.5835, allocations: 163 kB / 1.098 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.5835, allocations: 1.5 kB / 1.098 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.5835, allocations: 5.641 kB / 1.098 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.466e-05/0.5836, allocations: 8.562 kB / 1.098 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.364e-05/0.5836, allocations: 39.06 kB / 1.098 GB, free: 2.316 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5836, allocations: 0 / 1.098 GB, free: 2.316 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5837, allocations: 3.906 kB / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.5837, allocations: 4.594 kB / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.5841, allocations: 244.3 kB / 1.098 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.111e-05/0.5841, allocations: 23.92 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.5842, allocations: 14.67 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.5842, allocations: 3.094 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.5842, allocations: 38.45 kB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.5842, allocations: 0.5312 kB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000137/0.5844, allocations: 39.14 kB / 1.099 GB, free: 1.898 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.5844, allocations: 55.41 kB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.5845, allocations: 94.31 kB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.5845, allocations: 25.7 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.5845, allocations: 86.56 kB / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.5846, allocations: 3.906 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.5846, allocations: 0 / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5847, allocations: 315.4 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.5847, allocations: 8.5 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243e-05/0.5847, allocations: 5.312 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.708e-05/0.5847, allocations: 8 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5848, allocations: 0 / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.355e-05/0.5848, allocations: 45.69 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.5848, allocations: 4 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.5848, allocations: 0 / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.5849, allocations: 4.844 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.751e-05/0.585, allocations: 11.94 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.585, allocations: 3.984 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.585, allocations: 12.03 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.5851, allocations: 7.516 kB / 1.099 GB, free: 1.188 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 6.156e-05/0.5851, allocations: 104.9 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.5852, allocations: 0.8438 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.5853, allocations: 48.94 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.5853, allocations: 4 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5853, allocations: 1.906 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.5853, allocations: 4.031 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.5854, allocations: 142.1 kB / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5854, allocations: 0 / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-05/0.5855, allocations: 8 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5855, allocations: 3.984 kB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.5855, allocations: 0 / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.5855, allocations: 4.938 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5855, allocations: 1.875 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.498e-05/0.5856, allocations: 136 kB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.5857, allocations: 81.05 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.5857, allocations: 7.984 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.5858, allocations: 4 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.5858, allocations: 12.02 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.5858, allocations: 0 / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-05/0.5859, allocations: 87.8 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001932/0.5861, allocations: 0 / 1.1 GB, free: 480 kB / 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.0001049/0.5862, allocations: 106.8 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.278e-05/0.5863, allocations: 12 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.5863, allocations: 0 / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.807e-05/0.5863, allocations: 4 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.5865, allocations: 8.812 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.5867, allocations: 60.67 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.5869, allocations: 0.6919 MB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of SimCode: time 1.713e-06/0.5869, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of Templates: time 0.001898/0.5888, allocations: 399.1 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1)