Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.189/4.189, allocations: 433 MB / 440.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.284/4.473, allocations: 104.4 MB / 0.5319 GB, free: 2.305 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5887/5.062, allocations: 98.7 MB / 0.6283 GB, free: 0 / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2714/5.333, allocations: 123.5 MB / 0.7489 GB, free: 4.359 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/5.334, allocations: 71.95 kB / 0.749 GB, free: 4.289 MB / 0.6199 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.002952/5.337, allocations: 0.6989 MB / 0.7496 GB, free: 3.547 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/5.337, allocations: 12 kB / 0.7497 GB, free: 3.535 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/5.337, allocations: 0 / 0.7497 GB, free: 3.535 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/5.337, allocations: 171 kB / 0.7498 GB, free: 3.328 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/5.337, allocations: 0 / 0.7498 GB, free: 3.328 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/5.337, allocations: 4 kB / 0.7498 GB, free: 3.324 MB / 0.6199 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.564e-05/5.337, allocations: 4 kB / 0.7498 GB, free: 3.32 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.492e-05/5.337, allocations: 37.64 kB / 0.7499 GB, free: 3.277 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/5.337, allocations: 4 kB / 0.7499 GB, free: 3.273 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/5.337, allocations: 7.984 kB / 0.7499 GB, free: 3.266 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/5.337, allocations: 0 / 0.7499 GB, free: 3.266 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/5.338, allocations: 257.4 kB / 0.7501 GB, free: 2.977 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 6.474e-05/5.338, allocations: 22.58 kB / 0.7501 GB, free: 2.945 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/5.338, allocations: 8.922 kB / 0.7501 GB, free: 2.934 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/5.338, allocations: 3.938 kB / 0.7502 GB, free: 2.93 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/5.338, allocations: 34.56 kB / 0.7502 GB, free: 2.887 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/5.338, allocations: 0 / 0.7502 GB, free: 2.887 MB / 0.6199 GB Notification: Performance of matching and sorting (n=2): time 0.000186/5.338, allocations: 49.62 kB / 0.7502 GB, free: 2.832 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/5.338, allocations: 55.31 kB / 0.7503 GB, free: 2.766 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/5.338, allocations: 93 kB / 0.7504 GB, free: 2.668 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/5.338, allocations: 25.7 kB / 0.7504 GB, free: 2.637 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/5.338, allocations: 80.14 kB / 0.7505 GB, free: 2.555 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/5.338, allocations: 3.906 kB / 0.7505 GB, free: 2.551 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/5.338, allocations: 0 / 0.7505 GB, free: 2.551 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001779/5.339, allocations: 322.8 kB / 0.7508 GB, free: 2.227 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/5.339, allocations: 0 / 0.7508 GB, free: 2.227 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/5.339, allocations: 8.031 kB / 0.7508 GB, free: 2.219 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.887e-05/5.339, allocations: 8 kB / 0.7508 GB, free: 2.211 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/5.339, allocations: 0 / 0.7508 GB, free: 2.211 MB / 0.6199 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001132/5.339, allocations: 45.58 kB / 0.7508 GB, free: 2.16 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/5.339, allocations: 4 kB / 0.7508 GB, free: 2.156 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/5.339, allocations: 0 / 0.7508 GB, free: 2.156 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/5.339, allocations: 4 kB / 0.7509 GB, free: 2.152 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/5.339, allocations: 16.08 kB / 0.7509 GB, free: 2.137 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/5.339, allocations: 3.906 kB / 0.7509 GB, free: 2.133 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/5.339, allocations: 11.98 kB / 0.7509 GB, free: 2.121 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/5.339, allocations: 0 / 0.7509 GB, free: 2.121 MB / 0.6199 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 7.947e-05/5.339, allocations: 101 kB / 0.751 GB, free: 2.016 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/5.339, allocations: 0 / 0.751 GB, free: 2.016 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/5.339, allocations: 56.91 kB / 0.751 GB, free: 1.957 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/5.339, allocations: 192 / 0.751 GB, free: 1.957 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/5.339, allocations: 0 / 0.751 GB, free: 1.957 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/5.339, allocations: 3.984 kB / 0.751 GB, free: 1.953 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/5.34, allocations: 134.2 kB / 0.7512 GB, free: 1.785 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/5.34, allocations: 0 / 0.7512 GB, free: 1.785 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/5.34, allocations: 15.92 kB / 0.7512 GB, free: 1.77 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/5.34, allocations: 4.031 kB / 0.7512 GB, free: 1.766 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/5.34, allocations: 4 kB / 0.7512 GB, free: 1.762 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/5.34, allocations: 3.906 kB / 0.7512 GB, free: 1.758 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/5.34, allocations: 0 / 0.7512 GB, free: 1.758 MB / 0.6199 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000137/5.34, allocations: 135.5 kB / 0.7513 GB, free: 1.609 MB / 0.6199 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002713/5.34, allocations: 0.5116 MB / 0.7518 GB, free: 1.078 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/5.34, allocations: 77.11 kB / 0.7519 GB, free: 0.9844 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/5.34, allocations: 7.906 kB / 0.7519 GB, free: 0.9766 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/5.341, allocations: 7.984 kB / 0.7519 GB, free: 0.9688 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/5.341, allocations: 7.938 kB / 0.7519 GB, free: 0.9609 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/5.341, allocations: 0 / 0.7519 GB, free: 0.9609 MB / 0.6199 GB Notification: Performance of sort global known variables: time 4.336e-05/5.341, allocations: 79.31 kB / 0.752 GB, free: 0.8828 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.001076/5.342, allocations: 4 kB / 0.752 GB, free: 0.8789 MB / 0.6199 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.0001649/5.342, allocations: 103.2 kB / 0.7521 GB, free: 0.7656 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 9.709e-05/5.342, allocations: 12 kB / 0.7521 GB, free: 0.7539 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/5.342, allocations: 0 / 0.7521 GB, free: 0.7539 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 3.575e-05/5.342, allocations: 12 kB / 0.7521 GB, free: 0.7422 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/5.342, allocations: 3.906 kB / 0.7521 GB, free: 0.7422 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002511/5.343, allocations: 63.86 kB / 0.7522 GB, free: 0.6562 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/5.343, allocations: 0.688 MB / 0.7529 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/5.343, allocations: 0 / 0.7529 GB, free: 15.94 MB / 0.6355 GB