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.Atan.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.Atan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.311/1.311, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009617/0.0009616, allocations: 181.3 kB / 361.1 MB, free: 7.121 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.36 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.0007334/0.0007333, allocations: 89.05 kB / 0.7325 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1751/0.1758, allocations: 121.5 MB / 0.8512 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.5864, allocations: 115.3 MB / 0.9638 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.7116, allocations: 136.8 MB / 1.097 GB, free: 3.266 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001588/0.7117, allocations: 67.95 kB / 1.097 GB, free: 3.199 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001682/0.7134, allocations: 0.6892 MB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.7135, allocations: 8.5 kB / 1.098 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.7135, allocations: 8.406 kB / 1.098 GB, free: 2.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.65e-05/0.7136, allocations: 165.1 kB / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.7136, allocations: 1.125 kB / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.7136, allocations: 5.031 kB / 1.098 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.278e-05/0.7137, allocations: 8 kB / 1.098 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.268e-05/0.7137, allocations: 30.83 kB / 1.098 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.7138, allocations: 0.5938 kB / 1.098 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.7138, allocations: 3.906 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.7138, allocations: 0.8438 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.7141, allocations: 264.8 kB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.898e-05/0.7142, allocations: 22.58 kB / 1.099 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.7142, allocations: 8.922 kB / 1.099 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.7142, allocations: 0 / 1.099 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.7142, allocations: 38.47 kB / 1.099 GB, free: 1.852 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.7142, allocations: 3.5 kB / 1.099 GB, free: 1.852 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001154/0.7144, allocations: 39.53 kB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.7144, allocations: 59.41 kB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.287e-05/0.7144, allocations: 93.59 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.7145, allocations: 25.7 kB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.7145, allocations: 80.73 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.7145, allocations: 8.5 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.7145, allocations: 0 / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.7146, allocations: 311.7 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.7146, allocations: 9.109 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.284e-05/0.7146, allocations: 8 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.385e-05/0.7147, allocations: 0.8438 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7147, allocations: 4 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.055e-05/0.7147, allocations: 42.11 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.7148, allocations: 5.531 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.7148, allocations: 2.656 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-06/0.7148, allocations: 0 / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.479e-05/0.7149, allocations: 17.36 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.7149, allocations: 0.8125 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.7149, allocations: 9.078 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.715, allocations: 8.438 kB / 1.099 GB, free: 1.105 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 (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 4.89e-05/0.715, allocations: 109.4 kB / 1.099 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.715, allocations: 0.7812 kB / 1.099 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.284e-05/0.7151, allocations: 46.3 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.7151, allocations: 4.938 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.7151, allocations: 0.75 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.7152, allocations: 0 / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.7153, allocations: 138.7 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7153, allocations: 0.6875 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.012e-05/0.7154, allocations: 13.2 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7154, allocations: 0.8906 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.7154, allocations: 4.156 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7154, allocations: 3.062 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7154, allocations: 5.781 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.688e-05/0.7155, allocations: 139.4 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001535/0.7157, allocations: 0.5116 MB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.7157, allocations: 77.11 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.7157, allocations: 0 / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.7158, allocations: 11.98 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.7158, allocations: 0 / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.7158, allocations: 4 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.659e-05/0.7159, allocations: 82.58 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007318/0.7166, allocations: 11.91 kB / 1.1 GB, free: 15.86 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 9.174e-05/0.7167, allocations: 103 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.016e-05/0.7168, allocations: 19.92 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.7168, allocations: 0 / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.691e-05/0.7168, allocations: 4 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.717, allocations: 4 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001636/0.7171, allocations: 63.3 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.7173, allocations: 0.6841 MB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7173, allocations: 4 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1)