Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",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.1.4-maint.8.1.x/package.mo): time 1.37/1.37, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.0009707/0.0009707, allocations: 181.3 kB / 366.3 MB, free: 1.969 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.103/1.103, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0008159/0.000816, allocations: 84.94 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1967/0.1976, allocations: 122.5 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4675/0.6651, allocations: 116.3 MB / 0.9727 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1418/0.8069, allocations: 137.7 MB / 1.107 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001756/0.8071, allocations: 68.5 kB / 1.107 GB, free: 10.74 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001859/0.809, allocations: 0.6942 MB / 1.108 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.8091, allocations: 8 kB / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.8091, allocations: 3.906 kB / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.8092, allocations: 163.1 kB / 1.108 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.8092, allocations: 0 / 1.108 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-06/0.8092, allocations: 0 / 1.108 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.063e-05/0.8093, allocations: 15.98 kB / 1.108 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.462e-05/0.8094, allocations: 37.69 kB / 1.108 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.8094, allocations: 0 / 1.108 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.8094, allocations: 4.75 kB / 1.108 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.8094, allocations: 7.938 kB / 1.108 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.8097, allocations: 245.5 kB / 1.108 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.114e-05/0.8098, allocations: 26.58 kB / 1.108 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.8098, allocations: 12.92 kB / 1.108 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.8099, allocations: 0 / 1.108 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.872e-05/0.8099, allocations: 38.47 kB / 1.108 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.8099, allocations: 0 / 1.108 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001289/0.81, allocations: 41.64 kB / 1.108 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.8101, allocations: 56.19 kB / 1.109 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.141e-05/0.8101, allocations: 96.98 kB / 1.109 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.8101, allocations: 25.7 kB / 1.109 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.8102, allocations: 84.14 kB / 1.109 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.8102, allocations: 3.906 kB / 1.109 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.8102, allocations: 0 / 1.109 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.8103, allocations: 310.8 kB / 1.109 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.8103, allocations: 8 kB / 1.109 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.8103, allocations: 5.031 kB / 1.109 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.609e-05/0.8104, allocations: 8.062 kB / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.8104, allocations: 0 / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.78e-05/0.8104, allocations: 45.59 kB / 1.109 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.8105, allocations: 4 kB / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.8105, allocations: 0 / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.8105, allocations: 0 / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.8106, allocations: 15.92 kB / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.8106, allocations: 8.031 kB / 1.109 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.8107, allocations: 7.938 kB / 1.109 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.8107, allocations: 4 kB / 1.109 GB, free: 8.605 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 (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 5.659e-05/0.8107, allocations: 113.7 kB / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.8108, allocations: 0 / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.938e-05/0.8109, allocations: 49 kB / 1.109 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.8109, allocations: 0 / 1.109 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.8109, allocations: 0 / 1.109 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8109, allocations: 4 kB / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.811, allocations: 134.1 kB / 1.109 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.811, allocations: 4 kB / 1.109 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.8111, allocations: 11.98 kB / 1.109 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8111, allocations: 0.5625 kB / 1.109 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.8111, allocations: 4.031 kB / 1.109 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8112, allocations: 0 / 1.109 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.8112, allocations: 0 / 1.109 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.032e-05/0.8113, allocations: 143.4 kB / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001839/0.8114, allocations: 0.5056 MB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.8115, allocations: 86.41 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.8115, allocations: 0 / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.8116, allocations: 8 kB / 1.11 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.8116, allocations: 3.984 kB / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.8116, allocations: 0 / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.153e-05/0.8117, allocations: 82.06 kB / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007371/0.8124, allocations: 11.91 kB / 1.11 GB, free: 7.355 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 (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.0001212/0.8126, allocations: 103.2 kB / 1.11 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.998e-05/0.8126, allocations: 12 kB / 1.11 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.8126, allocations: 0 / 1.11 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.857e-05/0.8126, allocations: 8 kB / 1.11 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.8128, allocations: 5.344 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.0001915/0.813, allocations: 64.05 kB / 1.11 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.8133, allocations: 0.6842 MB / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8133, allocations: 0 / 1.111 GB, free: 6.422 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1)