Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.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.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") [: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.365/1.365, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.0009656/0.0009656, allocations: 181.3 kB / 366.3 MB, free: 1.949 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.138/1.138, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0008103/0.0008103, allocations: 89.09 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.819e-06/9.839e-06, allocations: 4 kB / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4357, allocations: 116.3 MB / 0.9726 GB, free: 68.49 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.5709, allocations: 137.8 MB / 1.107 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001738/0.5712, allocations: 63.97 kB / 1.107 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002161/0.5733, allocations: 0.6019 MB / 1.108 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.5733, allocations: 0.75 kB / 1.108 GB, free: 10.12 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003863/0.5737, allocations: 366.3 kB / 1.108 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.5738, allocations: 12.03 kB / 1.108 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.5738, allocations: 7.844 kB / 1.108 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.5739, allocations: 171 kB / 1.108 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.5739, allocations: 0.5 kB / 1.108 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.574, allocations: 4 kB / 1.108 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.304e-05/0.574, allocations: 16 kB / 1.108 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.263e-05/0.5741, allocations: 47.73 kB / 1.108 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.5741, allocations: 0 / 1.108 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.5741, allocations: 4 kB / 1.108 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.5742, allocations: 0 / 1.108 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.5746, allocations: 285.3 kB / 1.109 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.975e-05/0.5747, allocations: 32.66 kB / 1.109 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.5747, allocations: 16.86 kB / 1.109 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.5747, allocations: 4 kB / 1.109 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.5747, allocations: 31.06 kB / 1.109 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5747, allocations: 0 / 1.109 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001415/0.5749, allocations: 57.69 kB / 1.109 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.5749, allocations: 51.41 kB / 1.109 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.146e-05/0.575, allocations: 100.9 kB / 1.109 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.575, allocations: 25.7 kB / 1.109 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.5751, allocations: 84.12 kB / 1.109 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.5751, allocations: 19.75 kB / 1.109 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.5751, allocations: 0.5625 kB / 1.109 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.5752, allocations: 314.8 kB / 1.109 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.5752, allocations: 8 kB / 1.109 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.5752, allocations: 4 kB / 1.109 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.191e-05/0.5753, allocations: 11.98 kB / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5753, allocations: 0 / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.206e-05/0.5754, allocations: 54.45 kB / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.5754, allocations: 4 kB / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.5754, allocations: 7.938 kB / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.5754, allocations: 0 / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.5756, allocations: 28.53 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.5756, allocations: 2.578 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.5757, allocations: 19.98 kB / 1.109 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.5757, allocations: 0 / 1.109 GB, free: 8.172 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 (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.352e-05/0.5757, allocations: 104.9 kB / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.5758, allocations: 8.562 kB / 1.11 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.5759, allocations: 65.67 kB / 1.11 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.5759, allocations: 0 / 1.11 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.5759, allocations: 4 kB / 1.11 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.5759, allocations: 0 / 1.11 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.576, allocations: 146.1 kB / 1.11 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.576, allocations: 0 / 1.11 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.5762, allocations: 32.91 kB / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5762, allocations: 0 / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.5762, allocations: 0 / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.5762, allocations: 0 / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5762, allocations: 0 / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001102/0.5763, allocations: 151.6 kB / 1.11 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.5764, allocations: 85.05 kB / 1.11 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.5764, allocations: 0 / 1.11 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.5765, allocations: 23.98 kB / 1.11 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.5765, allocations: 3.984 kB / 1.11 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.5765, allocations: 0.75 kB / 1.11 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.437e-05/0.5766, allocations: 87.28 kB / 1.11 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001915/0.5768, allocations: 4 kB / 1.11 GB, free: 7.375 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.262e-05/0.5769, allocations: 103.2 kB / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.772e-05/0.577, allocations: 23.98 kB / 1.11 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.577, allocations: 0 / 1.11 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.577, allocations: 15.94 kB / 1.11 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.5772, allocations: 9.219 kB / 1.11 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001974/0.5774, allocations: 87.69 kB / 1.11 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.5776, allocations: 0.6915 MB / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.5776, allocations: 0 / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of Templates: time 0.001966/0.5796, allocations: 0.6033 MB / 1.112 GB, free: 5.812 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)