Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ0",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.27/4.27, allocations: 433 MB / 440.3 MB, free: 4.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5957/4.866, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/5.12, allocations: 98.73 MB / 0.6283 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2798/5.4, allocations: 123.2 MB / 0.7486 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/5.4, allocations: 79.58 kB / 0.7487 GB, free: 14.27 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.008681/5.409, allocations: 1.235 MB / 0.7499 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/5.409, allocations: 8 kB / 0.7499 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/5.409, allocations: 3.906 kB / 0.7499 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/5.409, allocations: 163 kB / 0.75 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/5.409, allocations: 0 / 0.75 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/5.409, allocations: 0 / 0.75 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.404e-05/5.409, allocations: 7.938 kB / 0.75 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.346e-05/5.41, allocations: 33.7 kB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/5.41, allocations: 0 / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/5.41, allocations: 0 / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/5.41, allocations: 3.906 kB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/5.41, allocations: 134.2 kB / 0.7502 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.527e-05/5.41, allocations: 18.61 kB / 0.7502 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/5.41, allocations: 4.859 kB / 0.7502 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/5.411, allocations: 441.5 kB / 0.7507 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/5.412, allocations: 30.56 kB / 0.7507 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 6.852e-06/5.412, allocations: 0 / 0.7507 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002492/5.412, allocations: 37.64 kB / 0.7507 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/5.412, allocations: 55.44 kB / 0.7508 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.702e-05/5.412, allocations: 85 kB / 0.7509 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/5.412, allocations: 29.64 kB / 0.7509 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/5.412, allocations: 80.14 kB / 0.751 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/5.412, allocations: 3.906 kB / 0.751 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/5.412, allocations: 4 kB / 0.751 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001944/5.412, allocations: 310.8 kB / 0.7513 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/5.412, allocations: 0 / 0.7513 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.227e-05/5.412, allocations: 0 / 0.7513 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.236e-05/5.413, allocations: 8.047 kB / 0.7513 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/5.413, allocations: 4 kB / 0.7513 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001576/5.413, allocations: 33.64 kB / 0.7513 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/5.413, allocations: 4 kB / 0.7513 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/5.413, allocations: 0 / 0.7513 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/5.413, allocations: 0 / 0.7513 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.935e-05/5.413, allocations: 4 kB / 0.7513 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/5.413, allocations: 3.906 kB / 0.7513 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/5.413, allocations: 0 / 0.7513 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/5.413, allocations: 4.016 kB / 0.7513 GB, free: 11.26 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 (1): * Single equations (assignments): 1 * 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.0001229/5.413, allocations: 109 kB / 0.7514 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/5.413, allocations: 3.984 kB / 0.7514 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/5.413, allocations: 32.7 kB / 0.7515 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/5.413, allocations: 4 kB / 0.7515 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/5.413, allocations: 0 / 0.7515 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/5.414, allocations: 3.906 kB / 0.7515 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/5.414, allocations: 126.2 kB / 0.7516 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/5.414, allocations: 0 / 0.7516 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/5.414, allocations: 7.969 kB / 0.7516 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/5.414, allocations: 4 kB / 0.7516 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/5.414, allocations: 0 / 0.7516 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/5.414, allocations: 3.938 kB / 0.7516 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/5.414, allocations: 0 / 0.7516 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002181/5.414, allocations: 57.05 kB / 0.7517 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005345/5.415, allocations: 441.6 kB / 0.7521 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/5.415, allocations: 77.11 kB / 0.7522 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/5.415, allocations: 7.906 kB / 0.7522 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-05/5.415, allocations: 0 / 0.7522 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/5.415, allocations: 3.984 kB / 0.7522 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/5.415, allocations: 7.938 kB / 0.7522 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.22e-05/5.415, allocations: 79.91 kB / 0.7522 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002319/5.418, allocations: 19.97 kB / 0.7523 GB, free: 10.18 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 (1): * Single equations (assignments): 1 * 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.000511/5.418, allocations: 131.2 kB / 0.7524 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001087/5.418, allocations: 8 kB / 0.7524 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/5.418, allocations: 0 / 0.7524 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/5.418, allocations: 4 kB / 0.7524 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/5.418, allocations: 3.938 kB / 0.7524 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002156/5.419, allocations: 44.06 kB / 0.7524 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/5.419, allocations: 0.684 MB / 0.7531 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of SimCode: time 1.423e-06/5.419, allocations: 4.125 kB / 0.7531 GB, free: 9.246 MB / 0.6355 GB