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.Atan2.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.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.371/1.371, allocations: 285.5 MB / 292.8 MB, free: 9.812 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.0009357/0.0009358, allocations: 175.7 kB / 361.1 MB, free: 368 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.05/1.05, allocations: 205.1 MB / 0.6195 GB, free: 2.867 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007589/0.000759, allocations: 97.77 kB / 0.7326 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 9.468e-06/9.488e-06, allocations: 3.25 kB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1616, allocations: 115.3 MB / 0.9637 GB, free: 56.34 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4451/0.6068, allocations: 136.8 MB / 1.097 GB, free: 43.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001673/0.607, allocations: 71.12 kB / 1.097 GB, free: 43.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001998/0.609, allocations: 0.5946 MB / 1.098 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.6091, allocations: 4 kB / 1.098 GB, free: 43.8 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.0003033/0.6094, allocations: 368.4 kB / 1.098 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.6094, allocations: 8.094 kB / 1.098 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.6094, allocations: 7.75 kB / 1.098 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.499e-05/0.6095, allocations: 167.2 kB / 1.098 GB, free: 43.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.6095, allocations: 3.875 kB / 1.098 GB, free: 43.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.6095, allocations: 0 / 1.098 GB, free: 43.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.267e-05/0.6096, allocations: 21.8 kB / 1.098 GB, free: 43.24 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.499e-05/0.6097, allocations: 44.34 kB / 1.099 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-06/0.6097, allocations: 0 / 1.099 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.6097, allocations: 0 / 1.099 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.6097, allocations: 3.281 kB / 1.099 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.6101, allocations: 285.8 kB / 1.099 GB, free: 42.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.499e-05/0.6102, allocations: 32.61 kB / 1.099 GB, free: 42.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.6102, allocations: 22.98 kB / 1.099 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.6102, allocations: 0 / 1.099 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.109e-05/0.6102, allocations: 30.56 kB / 1.099 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.6103, allocations: 0 / 1.099 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001373/0.6104, allocations: 51.7 kB / 1.099 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.447e-05/0.6104, allocations: 55.28 kB / 1.099 GB, free: 42.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.334e-05/0.6105, allocations: 97.98 kB / 1.099 GB, free: 42.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.6105, allocations: 27.64 kB / 1.099 GB, free: 42.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.388e-05/0.6105, allocations: 84.14 kB / 1.099 GB, free: 42.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.6105, allocations: 14.88 kB / 1.099 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.6105, allocations: 0 / 1.099 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.373e-05/0.6106, allocations: 322.5 kB / 1.1 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.6106, allocations: 10.12 kB / 1.1 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.6106, allocations: 6.375 kB / 1.1 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.948e-05/0.6106, allocations: 6.25 kB / 1.1 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6106, allocations: 0 / 1.1 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.045e-05/0.6107, allocations: 56.53 kB / 1.1 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.6107, allocations: 7.875 kB / 1.1 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.6107, allocations: 0 / 1.1 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.6108, allocations: 3.875 kB / 1.1 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.6109, allocations: 23.03 kB / 1.1 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.6109, allocations: 0 / 1.1 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/0.611, allocations: 26.92 kB / 1.1 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.611, allocations: 0.6562 kB / 1.1 GB, free: 42.21 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 3.519e-05/0.611, allocations: 103.1 kB / 1.1 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.6111, allocations: 11.66 kB / 1.1 GB, free: 42.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.833e-05/0.6112, allocations: 57.62 kB / 1.1 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.6112, allocations: 0 / 1.1 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6112, allocations: 0 / 1.1 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6112, allocations: 3.422 kB / 1.1 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.026e-05/0.6113, allocations: 154.4 kB / 1.1 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6113, allocations: 1.438 kB / 1.1 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.6114, allocations: 29.97 kB / 1.1 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.6114, allocations: 0 / 1.1 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.6114, allocations: 1.078 kB / 1.1 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.6114, allocations: 0 / 1.1 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6114, allocations: 0 / 1.1 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.838e-05/0.6115, allocations: 147.8 kB / 1.1 GB, free: 41.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.6115, allocations: 88.89 kB / 1.1 GB, free: 41.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.6116, allocations: 0 / 1.1 GB, free: 41.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.6117, allocations: 26.61 kB / 1.1 GB, free: 41.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.6117, allocations: 0 / 1.1 GB, free: 41.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.6117, allocations: 0 / 1.1 GB, free: 41.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.939e-05/0.6118, allocations: 93.08 kB / 1.1 GB, free: 41.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001921/0.612, allocations: 3.875 kB / 1.1 GB, free: 41.57 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 0.0001372/0.6121, allocations: 102.4 kB / 1.1 GB, free: 57.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.468e-05/0.6122, allocations: 19.53 kB / 1.1 GB, free: 57.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.6122, allocations: 0 / 1.1 GB, free: 57.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.699e-05/0.6122, allocations: 18.06 kB / 1.1 GB, free: 57.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.6124, allocations: 5.797 kB / 1.1 GB, free: 57.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001822/0.6126, allocations: 80.78 kB / 1.101 GB, free: 57.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.6128, allocations: 0.6981 MB / 1.101 GB, free: 56.7 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.6128, allocations: 0 / 1.101 GB, free: 56.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.001884/0.6147, allocations: 0.6096 MB / 1.102 GB, free: 56.64 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)