Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.262/1.262, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009685/0.0009685, allocations: 185.2 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.181/1.181, allocations: 205.1 MB / 0.5667 GB, free: 15.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008867/0.0008868, allocations: 90.06 kB / 0.671 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3319/0.3329, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.485, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.9368, allocations: 131.7 MB / 1.013 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.9371, allocations: 71.86 kB / 1.013 GB, free: 6.754 MB / 0.6355 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.002701/0.9398, allocations: 0.9913 MB / 1.014 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.9398, allocations: 8 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.9398, allocations: 7.906 kB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.94, allocations: 166.3 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.94, allocations: 0 / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.94, allocations: 0 / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.968e-05/0.9401, allocations: 19.73 kB / 1.015 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.545e-05/0.9402, allocations: 48.97 kB / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.9402, allocations: 0 / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.9402, allocations: 7.938 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.9402, allocations: 0 / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.9407, allocations: 284.6 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.013e-05/0.9408, allocations: 29.83 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.9408, allocations: 16.17 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.9408, allocations: 4 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.9409, allocations: 30.56 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.9409, allocations: 0 / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001556/0.941, allocations: 57.44 kB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.9411, allocations: 51.41 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.9411, allocations: 96.31 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.9412, allocations: 25.7 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.9412, allocations: 94.61 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.9412, allocations: 11.84 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.9412, allocations: 0 / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.9413, allocations: 318.2 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.9414, allocations: 11.19 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.9414, allocations: 7.5 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.079e-05/0.9414, allocations: 7.812 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.9414, allocations: 7.891 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.832e-05/0.9415, allocations: 44.89 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.9415, allocations: 4 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.9415, allocations: 0 / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.096e-06/0.9416, allocations: 7.938 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.9417, allocations: 27.78 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.9417, allocations: 0 / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.858e-05/0.9418, allocations: 27.89 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.9418, allocations: 0.875 kB / 1.016 GB, free: 4.332 MB / 0.6355 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 6.4e-05/0.9419, allocations: 101 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.9419, allocations: 7.906 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.9421, allocations: 56.73 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.9421, allocations: 4 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.9421, allocations: 0 / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.9421, allocations: 0 / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.9422, allocations: 149.1 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9422, allocations: 1.5 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.9423, allocations: 27.92 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9424, allocations: 3.938 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.9424, allocations: 7.906 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9424, allocations: 3.984 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.9424, allocations: 0 / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001167/0.9425, allocations: 146.2 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002007/0.9427, allocations: 0.5213 MB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.9428, allocations: 77.11 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.9428, allocations: 0 / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.9429, allocations: 18.55 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.9429, allocations: 21.05 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.943, allocations: 0 / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.94e-05/0.943, allocations: 86.56 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000736/0.9437, allocations: 8 kB / 1.017 GB, free: 3.035 MB / 0.6355 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.0001141/0.9439, allocations: 99.25 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.074e-05/0.9439, allocations: 22.92 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.944, allocations: 0 / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.908e-05/0.944, allocations: 11.44 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.9442, allocations: 11.94 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.9444, allocations: 82.62 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.9447, allocations: 0.6915 MB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.9447, allocations: 0 / 1.018 GB, free: 2.082 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)