Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.BesselY0.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.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_BesselY0",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.26/4.26, allocations: 433 MB / 440.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2668/4.527, allocations: 104.4 MB / 0.5319 GB, free: 2.324 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.549/5.076, allocations: 98.7 MB / 0.6283 GB, free: 96 kB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2717/5.348, allocations: 124.1 MB / 0.7495 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/5.348, allocations: 75.95 kB / 0.7496 GB, free: 3.727 MB / 0.6198 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.01546/5.364, allocations: 2.418 MB / 0.7519 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/5.364, allocations: 8 kB / 0.7519 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/5.364, allocations: 3.938 kB / 0.752 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/5.364, allocations: 167 kB / 0.7521 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/5.364, allocations: 0 / 0.7521 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/5.364, allocations: 0 / 0.7521 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001081/5.364, allocations: 8 kB / 0.7521 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/5.364, allocations: 41.69 kB / 0.7522 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/5.364, allocations: 4 kB / 0.7522 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/5.364, allocations: 0 / 0.7522 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/5.364, allocations: 3.938 kB / 0.7522 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/5.365, allocations: 257.3 kB / 0.7524 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.346e-05/5.365, allocations: 18.58 kB / 0.7524 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/5.365, allocations: 12.97 kB / 0.7524 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/5.366, allocations: 445.5 kB / 0.7529 GB, free: 128 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/5.366, allocations: 30.56 kB / 0.7529 GB, free: 88 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 4.418e-06/5.367, allocations: 0 / 0.7529 GB, free: 88 kB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003211/5.367, allocations: 45.59 kB / 0.7529 GB, free: 36 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/5.367, allocations: 55.34 kB / 0.753 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/5.367, allocations: 93 kB / 0.7531 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/5.367, allocations: 33.73 kB / 0.7531 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/5.367, allocations: 80.14 kB / 0.7532 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/5.367, allocations: 11.83 kB / 0.7532 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/5.367, allocations: 0 / 0.7532 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001946/5.367, allocations: 317 kB / 0.7535 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.732e-05/5.368, allocations: 4 kB / 0.7535 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.315e-05/5.368, allocations: 8 kB / 0.7535 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/5.368, allocations: 0 / 0.7535 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/5.368, allocations: 0 / 0.7535 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002083/5.368, allocations: 45.77 kB / 0.7536 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/5.368, allocations: 7.984 kB / 0.7536 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/5.368, allocations: 0 / 0.7536 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/5.368, allocations: 0 / 0.7536 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/5.368, allocations: 15.91 kB / 0.7536 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/5.368, allocations: 0 / 0.7536 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/5.368, allocations: 12.02 kB / 0.7536 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/5.368, allocations: 4 kB / 0.7536 GB, free: 15.32 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.0001169/5.369, allocations: 105.6 kB / 0.7537 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/5.369, allocations: 3.906 kB / 0.7537 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/5.369, allocations: 45 kB / 0.7537 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/5.369, allocations: 4 kB / 0.7537 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/5.369, allocations: 0 / 0.7537 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/5.369, allocations: 4.219 kB / 0.7538 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/5.369, allocations: 138.2 kB / 0.7539 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/5.369, allocations: 3.938 kB / 0.7539 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/5.369, allocations: 8 kB / 0.7539 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/5.37, allocations: 7.922 kB / 0.7539 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/5.37, allocations: 3.984 kB / 0.7539 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/5.37, allocations: 3.906 kB / 0.7539 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/5.37, allocations: 4 kB / 0.7539 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002976/5.37, allocations: 135.5 kB / 0.754 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003953/5.37, allocations: 0.5077 MB / 0.7545 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/5.37, allocations: 77.11 kB / 0.7546 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/5.37, allocations: 11.97 kB / 0.7546 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/5.371, allocations: 11.98 kB / 0.7546 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/5.371, allocations: 0 / 0.7546 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/5.371, allocations: 4 kB / 0.7546 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.753e-05/5.371, allocations: 83.27 kB / 0.7547 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002041/5.373, allocations: 47.94 kB / 0.7548 GB, free: 14.02 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.0007927/5.374, allocations: 167 kB / 0.7549 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001427/5.374, allocations: 12 kB / 0.7549 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/5.374, allocations: 4.062 kB / 0.7549 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/5.374, allocations: 4 kB / 0.7549 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/5.374, allocations: 4 kB / 0.7549 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/5.375, allocations: 55.92 kB / 0.755 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/5.375, allocations: 0.688 MB / 0.7557 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of SimCode: time 4.147e-06/5.375, allocations: 0 / 0.7557 GB, free: 13.03 MB / 0.6355 GB