Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.343/2.343, allocations: 248.6 MB / 255.9 MB, free: 7.047 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.001776/0.001775, allocations: 188 kB / 315.1 MB, free: 4.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.1 MB / 0.5658 GB, free: 264 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002312/0.002311, allocations: 95.31 kB / 0.67 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4925/0.4948, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.7231, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7108/1.434, allocations: 131.4 MB / 1.012 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/1.434, allocations: 71.14 kB / 1.012 GB, free: 8.699 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002923/1.437, allocations: 0.7154 MB / 1.013 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.437, allocations: 8 kB / 1.013 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/1.437, allocations: 0 / 1.013 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/1.437, allocations: 167.1 kB / 1.013 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/1.438, allocations: 3.906 kB / 1.013 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/1.438, allocations: 0 / 1.013 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.554e-05/1.438, allocations: 14.88 kB / 1.013 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.575e-05/1.438, allocations: 41.55 kB / 1.013 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/1.438, allocations: 0 / 1.013 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/1.438, allocations: 4 kB / 1.013 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.438, allocations: 0 / 1.013 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/1.438, allocations: 244.8 kB / 1.013 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/1.438, allocations: 30.33 kB / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.204e-05/1.438, allocations: 8.922 kB / 1.013 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/1.439, allocations: 0 / 1.013 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/1.439, allocations: 41.81 kB / 1.013 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.834e-06/1.439, allocations: 0 / 1.013 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002051/1.439, allocations: 41.25 kB / 1.013 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/1.439, allocations: 55.44 kB / 1.013 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/1.439, allocations: 89 kB / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/1.439, allocations: 28.33 kB / 1.013 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/1.439, allocations: 86.98 kB / 1.013 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/1.439, allocations: 4 kB / 1.013 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-06/1.439, allocations: 0 / 1.013 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.439, allocations: 318.7 kB / 1.014 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/1.439, allocations: 7.25 kB / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/1.439, allocations: 4 kB / 1.014 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/1.439, allocations: 7.562 kB / 1.014 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.439, allocations: 0 / 1.014 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/1.439, allocations: 44.52 kB / 1.014 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.439, allocations: 7.281 kB / 1.014 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.44, allocations: 0 / 1.014 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.44, allocations: 0 / 1.014 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/1.44, allocations: 16.08 kB / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.44, allocations: 0 / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/1.44, allocations: 15.89 kB / 1.014 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/1.44, allocations: 0 / 1.014 GB, free: 6.629 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 (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 0.0001326/1.44, allocations: 105 kB / 1.014 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/1.44, allocations: 0 / 1.014 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/1.44, allocations: 52.77 kB / 1.014 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/1.44, allocations: 3.906 kB / 1.014 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.44, allocations: 3.938 kB / 1.014 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.44, allocations: 0 / 1.014 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/1.441, allocations: 137.3 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.441, allocations: 3.938 kB / 1.014 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/1.441, allocations: 15.98 kB / 1.014 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/1.441, allocations: 0 / 1.014 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/1.441, allocations: 4.031 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.441, allocations: 0 / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.441, allocations: 1 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001547/1.441, allocations: 143 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002813/1.441, allocations: 0.5141 MB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/1.441, allocations: 77.11 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/1.441, allocations: 0 / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/1.441, allocations: 11.98 kB / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/1.442, allocations: 3.906 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/1.442, allocations: 0 / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.03e-05/1.442, allocations: 83.22 kB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001091/1.443, allocations: 8 kB / 1.015 GB, free: 5.395 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 (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.0001878/1.443, allocations: 102.5 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001091/1.443, allocations: 14.5 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.443, allocations: 0 / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/1.443, allocations: 8 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/1.443, allocations: 1.812 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/1.444, allocations: 71.33 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/1.444, allocations: 0.688 MB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/1.444, allocations: 0 / 1.016 GB, free: 4.465 MB / 0.6355 GB