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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) [: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.301/1.301, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009181/0.0009181, allocations: 189.2 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.002/1.002, 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.0007418/0.0007418, allocations: 92 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1703/0.1711, allocations: 121.5 MB / 0.8512 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.5637, allocations: 115.3 MB / 0.9638 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.6915, allocations: 136.8 MB / 1.097 GB, free: 3.254 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000175/0.6918, allocations: 68.8 kB / 1.097 GB, free: 3.188 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.002509/0.6943, allocations: 0.9653 MB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.6943, allocations: 12.48 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.6943, allocations: 4.594 kB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.246e-05/0.6944, allocations: 167.5 kB / 1.099 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.6945, allocations: 2.25 kB / 1.099 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.6945, allocations: 4.594 kB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.375e-05/0.6946, allocations: 17.59 kB / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.954e-05/0.6946, allocations: 47.12 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.6947, allocations: 0 / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.6947, allocations: 2.188 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6947, allocations: 4.594 kB / 1.099 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.6951, allocations: 279.1 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.829e-05/0.6952, allocations: 35.33 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.6952, allocations: 16.86 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.6953, allocations: 3.984 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.6953, allocations: 34.39 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 3.376e-06/0.6953, allocations: 4 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001381/0.6954, allocations: 58.19 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.6955, allocations: 51.41 kB / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.06e-05/0.6955, allocations: 103.1 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.6955, allocations: 25.7 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.6956, allocations: 84.14 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.6956, allocations: 15.75 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.6956, allocations: 0 / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.188e-05/0.6957, allocations: 318.8 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.6957, allocations: 8 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.6957, allocations: 4 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/0.6958, allocations: 8 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6958, allocations: 4.656 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.294e-05/0.6959, allocations: 58.38 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.6959, allocations: 8 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.6959, allocations: 0 / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.6959, allocations: 4 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.696, allocations: 19.98 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.696, allocations: 0 / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.86e-05/0.6961, allocations: 21.48 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.6962, allocations: 0 / 1.1 GB, free: 0.6953 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.36e-05/0.6962, allocations: 105 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.6962, allocations: 7.891 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.6964, allocations: 58.3 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.6964, allocations: 4 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.6964, allocations: 0 / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6964, allocations: 0 / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.6965, allocations: 146.7 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6965, allocations: 7.938 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.6966, allocations: 29.91 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6966, allocations: 0 / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.6967, allocations: 0 / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.6967, allocations: 0 / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6967, allocations: 0 / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001082/0.6968, allocations: 150.1 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001874/0.697, allocations: 0.5232 MB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.697, allocations: 81.77 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.697, allocations: 4 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.6972, allocations: 23.97 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.6972, allocations: 4 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.6972, allocations: 4 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.328e-05/0.6972, allocations: 79.28 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007359/0.698, allocations: 8 kB / 1.101 GB, free: 15.38 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.367e-05/0.6981, allocations: 103 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.426e-05/0.6982, allocations: 20 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.6982, allocations: 4 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.997e-05/0.6982, allocations: 12 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.6984, allocations: 18.11 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.6986, allocations: 77.88 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.6988, allocations: 0.6993 MB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.6988, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)