Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.149/2.149, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.00165/0.00165, allocations: 193.2 kB / 360.3 MB, free: 7.527 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.665/1.665, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001185/0.001184, allocations: 90.33 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2415/0.2427, allocations: 121.4 MB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5537/0.7965, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.9983, allocations: 136.6 MB / 1.096 GB, free: 4.27 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.9986, allocations: 67.95 kB / 1.096 GB, free: 4.203 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.002743/1.001, allocations: 0.6869 MB / 1.097 GB, free: 3.504 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.001, allocations: 8.5 kB / 1.097 GB, free: 3.496 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/1.001, allocations: 4.438 kB / 1.097 GB, free: 3.492 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/1.002, allocations: 171.7 kB / 1.097 GB, free: 3.285 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/1.002, allocations: 0 / 1.097 GB, free: 3.285 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/1.002, allocations: 1.469 kB / 1.097 GB, free: 3.285 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.011e-05/1.002, allocations: 12 kB / 1.097 GB, free: 3.273 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.114e-05/1.002, allocations: 36.05 kB / 1.097 GB, free: 3.234 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.002, allocations: 1.312 kB / 1.097 GB, free: 3.234 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/1.002, allocations: 3.906 kB / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.002, allocations: 0.7031 kB / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/1.002, allocations: 252.4 kB / 1.097 GB, free: 2.949 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.706e-05/1.003, allocations: 26.17 kB / 1.097 GB, free: 2.918 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/1.003, allocations: 13.58 kB / 1.097 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/1.003, allocations: 0.5938 kB / 1.097 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/1.003, allocations: 35 kB / 1.097 GB, free: 2.859 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.472e-06/1.003, allocations: 1.219 kB / 1.097 GB, free: 2.859 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001826/1.003, allocations: 46.23 kB / 1.097 GB, free: 2.809 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/1.003, allocations: 51.94 kB / 1.098 GB, free: 2.746 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.278e-05/1.003, allocations: 90.44 kB / 1.098 GB, free: 2.652 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/1.003, allocations: 29.7 kB / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/1.003, allocations: 84.14 kB / 1.098 GB, free: 2.531 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/1.003, allocations: 3.906 kB / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.003, allocations: 0.6562 kB / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.003, allocations: 316.2 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/1.003, allocations: 8 kB / 1.098 GB, free: 2.203 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/1.003, allocations: 4 kB / 1.098 GB, free: 2.199 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/1.003, allocations: 5.125 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.003, allocations: 0 / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001009/1.004, allocations: 45.11 kB / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/1.004, allocations: 4.531 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.004, allocations: 1.594 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/1.004, allocations: 0.6094 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/1.004, allocations: 12.58 kB / 1.098 GB, free: 2.133 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.004, allocations: 12.41 kB / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.595e-05/1.004, allocations: 12.11 kB / 1.098 GB, free: 2.109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/1.004, allocations: 0 / 1.098 GB, free: 2.109 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 8.338e-05/1.004, allocations: 116.7 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/1.004, allocations: 0 / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/1.004, allocations: 45 kB / 1.098 GB, free: 1.938 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.004, allocations: 0.8906 kB / 1.098 GB, free: 1.938 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.004, allocations: 5.906 kB / 1.098 GB, free: 1.934 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/1.004, allocations: 0 / 1.098 GB, free: 1.934 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/1.004, allocations: 134.1 kB / 1.098 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.004, allocations: 4 kB / 1.098 GB, free: 1.762 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/1.005, allocations: 15.98 kB / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.005, allocations: 0 / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/1.005, allocations: 0 / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/1.005, allocations: 0 / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/1.005, allocations: 4 kB / 1.098 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001479/1.005, allocations: 143.4 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002805/1.005, allocations: 0.5038 MB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/1.005, allocations: 81.11 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/1.005, allocations: 4.062 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/1.005, allocations: 13.92 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/1.005, allocations: 0.9844 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/1.005, allocations: 0 / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.923e-05/1.005, allocations: 81.88 kB / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001096/1.007, allocations: 7.906 kB / 1.099 GB, free: 0.8633 MB / 0.698 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.0001569/1.007, allocations: 99.25 kB / 1.099 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.894e-05/1.007, allocations: 19.92 kB / 1.099 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.007, allocations: 1.031 kB / 1.099 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/1.007, allocations: 12 kB / 1.099 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/1.007, allocations: 2.406 kB / 1.099 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/1.007, allocations: 56.73 kB / 1.099 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/1.008, allocations: 0.692 MB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of SimCode: time 3.236e-06/1.008, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1)