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.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.Examples.BesselJ0,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_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.128/4.128, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.562/4.69, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/4.918, allocations: 98.73 MB / 0.6283 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2466/5.165, allocations: 123.8 MB / 0.7492 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/5.165, allocations: 75.59 kB / 0.7493 GB, free: 13.74 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.007579/5.173, allocations: 1.555 MB / 0.7508 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/5.173, allocations: 8 kB / 0.7508 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/5.173, allocations: 4 kB / 0.7508 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/5.173, allocations: 167 kB / 0.751 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/5.173, allocations: 0 / 0.751 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/5.173, allocations: 7.984 kB / 0.751 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.286e-05/5.173, allocations: 8 kB / 0.751 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.504e-05/5.173, allocations: 33.7 kB / 0.751 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/5.173, allocations: 0 / 0.751 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/5.173, allocations: 0 / 0.751 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/5.173, allocations: 0 / 0.751 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/5.174, allocations: 257.4 kB / 0.7513 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.317e-05/5.174, allocations: 22.58 kB / 0.7513 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/5.174, allocations: 8.922 kB / 0.7513 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008337/5.175, allocations: 445.5 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/5.175, allocations: 30.56 kB / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/5.175, allocations: 0 / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002219/5.175, allocations: 45.55 kB / 0.7518 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/5.175, allocations: 51.41 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.633e-05/5.175, allocations: 92.98 kB / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/5.176, allocations: 25.7 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/5.176, allocations: 88.17 kB / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/5.176, allocations: 11.84 kB / 0.7521 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/5.176, allocations: 3.938 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001093/5.176, allocations: 310.8 kB / 0.7524 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/5.176, allocations: 8 kB / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/5.176, allocations: 0 / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.741e-05/5.176, allocations: 7.984 kB / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/5.176, allocations: 0 / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001163/5.176, allocations: 45.77 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/5.176, allocations: 4 kB / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/5.176, allocations: 0 / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/5.176, allocations: 0 / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/5.176, allocations: 15.89 kB / 0.7524 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/5.176, allocations: 7.875 kB / 0.7524 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.509e-05/5.176, allocations: 12.03 kB / 0.7525 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/5.176, allocations: 3.984 kB / 0.7525 GB, free: 10.2 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 7.228e-05/5.176, allocations: 105 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/5.176, allocations: 3.906 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/5.177, allocations: 49 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/5.177, allocations: 4 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/5.177, allocations: 0 / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/5.177, allocations: 4.031 kB / 0.7526 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/5.177, allocations: 130.2 kB / 0.7527 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/5.177, allocations: 0 / 0.7527 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/5.177, allocations: 15.98 kB / 0.7528 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/5.177, allocations: 0 / 0.7528 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/5.177, allocations: 0 / 0.7528 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/5.177, allocations: 3.906 kB / 0.7528 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/5.177, allocations: 0 / 0.7528 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001676/5.177, allocations: 147.5 kB / 0.7529 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003015/5.178, allocations: 0.4999 MB / 0.7534 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/5.178, allocations: 85.09 kB / 0.7535 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/5.178, allocations: 3.906 kB / 0.7535 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/5.178, allocations: 12.78 kB / 0.7535 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/5.178, allocations: 3.984 kB / 0.7535 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/5.178, allocations: 0 / 0.7535 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-05/5.178, allocations: 83.45 kB / 0.7536 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001159/5.179, allocations: 27.94 kB / 0.7536 GB, free: 8.938 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.0003826/5.18, allocations: 143.1 kB / 0.7537 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001156/5.18, allocations: 16 kB / 0.7538 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/5.18, allocations: 0 / 0.7538 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/5.18, allocations: 4 kB / 0.7538 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/5.18, allocations: 7.984 kB / 0.7538 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/5.18, allocations: 55.92 kB / 0.7538 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/5.181, allocations: 0.688 MB / 0.7545 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/5.181, allocations: 3.938 kB / 0.7545 GB, free: 7.961 MB / 0.6355 GB