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.BesselY1.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.BesselY1,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_BesselY1",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.371/4.371, allocations: 433 MB / 440.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.5691/4.94, allocations: 104.3 MB / 0.5319 GB, free: 16.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/5.172, allocations: 98.71 MB / 0.6283 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2444/5.416, allocations: 124.2 MB / 0.7496 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/5.416, allocations: 71.94 kB / 0.7496 GB, free: 4.199 MB / 0.6231 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.01342/5.43, allocations: 2.492 MB / 0.7521 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/5.43, allocations: 12 kB / 0.7521 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/5.43, allocations: 0 / 0.7521 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/5.43, allocations: 171 kB / 0.7523 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/5.43, allocations: 0 / 0.7523 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/5.43, allocations: 3.938 kB / 0.7523 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.363e-05/5.43, allocations: 11.94 kB / 0.7523 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.569e-05/5.43, allocations: 41.69 kB / 0.7523 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/5.43, allocations: 0 / 0.7523 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/5.43, allocations: 0 / 0.7523 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/5.43, allocations: 0 / 0.7523 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/5.431, allocations: 249.4 kB / 0.7525 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 6.823e-05/5.431, allocations: 22.64 kB / 0.7526 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/5.431, allocations: 20.5 kB / 0.7526 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009194/5.432, allocations: 453.5 kB / 0.753 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/5.432, allocations: 42.48 kB / 0.7531 GB, free: 472 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 2.194e-06/5.432, allocations: 0 / 0.7531 GB, free: 472 kB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0002126/5.432, allocations: 37.61 kB / 0.7531 GB, free: 428 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/5.432, allocations: 51.41 kB / 0.7531 GB, free: 364 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.426e-05/5.432, allocations: 96.98 kB / 0.7532 GB, free: 260 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/5.432, allocations: 25.7 kB / 0.7533 GB, free: 228 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/5.432, allocations: 88.17 kB / 0.7533 GB, free: 136 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/5.432, allocations: 7.891 kB / 0.7534 GB, free: 128 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/5.432, allocations: 0 / 0.7534 GB, free: 128 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002342/5.433, allocations: 316.9 kB / 0.7537 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-05/5.433, allocations: 4 kB / 0.7537 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/5.433, allocations: 8 kB / 0.7537 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.436e-05/5.433, allocations: 0 / 0.7537 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/5.433, allocations: 0 / 0.7537 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000148/5.433, allocations: 53.69 kB / 0.7537 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/5.433, allocations: 4 kB / 0.7537 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/5.433, allocations: 0 / 0.7537 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/5.433, allocations: 0 / 0.7537 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/5.433, allocations: 15.91 kB / 0.7537 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/5.433, allocations: 0 / 0.7537 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.566e-05/5.433, allocations: 12.02 kB / 0.7538 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/5.433, allocations: 4 kB / 0.7538 GB, free: 15.7 MB / 0.6387 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.307e-05/5.434, allocations: 101 kB / 0.7539 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/5.434, allocations: 3.906 kB / 0.7539 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/5.434, allocations: 49 kB / 0.7539 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/5.434, allocations: 4 kB / 0.7539 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/5.434, allocations: 3.938 kB / 0.7539 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/5.434, allocations: 3.938 kB / 0.7539 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/5.434, allocations: 142.2 kB / 0.754 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/5.434, allocations: 0 / 0.754 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/5.434, allocations: 8 kB / 0.7541 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/5.434, allocations: 3.984 kB / 0.7541 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/5.434, allocations: 0 / 0.7541 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/5.434, allocations: 3.906 kB / 0.7541 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/5.434, allocations: 4 kB / 0.7541 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001553/5.434, allocations: 131.6 kB / 0.7542 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002716/5.435, allocations: 0.5115 MB / 0.7547 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/5.435, allocations: 77.11 kB / 0.7548 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/5.435, allocations: 3.906 kB / 0.7548 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/5.435, allocations: 16.05 kB / 0.7548 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/5.435, allocations: 3.938 kB / 0.7548 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/5.435, allocations: 4 kB / 0.7548 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.577e-05/5.435, allocations: 83.27 kB / 0.7549 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001228/5.436, allocations: 43.94 kB / 0.7549 GB, free: 14.41 MB / 0.6387 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.0005354/5.437, allocations: 171.4 kB / 0.7551 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001041/5.437, allocations: 12 kB / 0.7551 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/5.437, allocations: 0 / 0.7551 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.21e-05/5.437, allocations: 20 kB / 0.7551 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/5.437, allocations: 0 / 0.7551 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/5.437, allocations: 59.92 kB / 0.7552 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/5.438, allocations: 0.6919 MB / 0.7558 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.092e-06/5.438, allocations: 0 / 0.7558 GB, free: 13.4 MB / 0.6387 GB