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.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_BesselJ1",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.181/4.181, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5803/4.761, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/5, allocations: 98.72 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2388/5.239, allocations: 123.9 MB / 0.7492 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/5.239, allocations: 79.59 kB / 0.7493 GB, free: 13.68 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.007686/5.247, allocations: 1.59 MB / 0.7509 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/5.247, allocations: 8 kB / 0.7509 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/5.247, allocations: 0 / 0.7509 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/5.247, allocations: 167 kB / 0.751 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/5.247, allocations: 4 kB / 0.751 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/5.247, allocations: 0 / 0.751 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.267e-05/5.247, allocations: 15.98 kB / 0.7511 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.82e-05/5.247, allocations: 33.64 kB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/5.247, allocations: 3.938 kB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/5.247, allocations: 7.938 kB / 0.7511 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/5.247, allocations: 0 / 0.7511 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/5.248, allocations: 253.4 kB / 0.7513 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.993e-05/5.248, allocations: 26.58 kB / 0.7514 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/5.248, allocations: 12.92 kB / 0.7514 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000861/5.249, allocations: 441.5 kB / 0.7518 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/5.249, allocations: 30.56 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.864e-06/5.249, allocations: 0 / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002074/5.249, allocations: 45.55 kB / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/5.249, allocations: 55.41 kB / 0.7519 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.802e-05/5.249, allocations: 96.98 kB / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/5.249, allocations: 25.7 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/5.249, allocations: 80.14 kB / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/5.249, allocations: 7.938 kB / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/5.249, allocations: 0 / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001307/5.25, allocations: 314.8 kB / 0.7524 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/5.25, allocations: 4 kB / 0.7524 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.141e-05/5.25, allocations: 4 kB / 0.7524 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.563e-05/5.25, allocations: 11.98 kB / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/5.25, allocations: 0 / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000114/5.25, allocations: 37.7 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/5.25, allocations: 11.22 kB / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/5.25, allocations: 0 / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/5.25, allocations: 3.938 kB / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/5.25, allocations: 19.89 kB / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/5.25, allocations: 0 / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.81e-05/5.25, allocations: 15.98 kB / 0.7525 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/5.25, allocations: 0 / 0.7525 GB, free: 10.09 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.474e-05/5.25, allocations: 101 kB / 0.7526 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/5.25, allocations: 3.906 kB / 0.7526 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/5.25, allocations: 45 kB / 0.7527 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/5.25, allocations: 4 kB / 0.7527 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/5.25, allocations: 0 / 0.7527 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/5.25, allocations: 0 / 0.7527 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/5.251, allocations: 134.2 kB / 0.7528 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/5.251, allocations: 4.031 kB / 0.7528 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/5.251, allocations: 15.92 kB / 0.7528 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/5.251, allocations: 0 / 0.7528 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/5.251, allocations: 0 / 0.7528 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/5.251, allocations: 11.84 kB / 0.7528 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/5.251, allocations: 4 kB / 0.7528 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001618/5.251, allocations: 139.5 kB / 0.753 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003089/5.251, allocations: 0.5084 MB / 0.7535 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/5.251, allocations: 77.3 kB / 0.7535 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/5.251, allocations: 7.906 kB / 0.7536 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/5.252, allocations: 8.062 kB / 0.7536 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/5.252, allocations: 11.97 kB / 0.7536 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/5.252, allocations: 0 / 0.7536 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.7e-05/5.252, allocations: 83.22 kB / 0.7537 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002294/5.254, allocations: 31.94 kB / 0.7537 GB, free: 8.816 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.0004089/5.254, allocations: 131.2 kB / 0.7538 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001107/5.255, allocations: 12 kB / 0.7538 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/5.255, allocations: 4.062 kB / 0.7538 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/5.255, allocations: 8 kB / 0.7538 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/5.255, allocations: 3.938 kB / 0.7538 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/5.255, allocations: 63.86 kB / 0.7539 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/5.256, allocations: 0.6841 MB / 0.7546 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/5.256, allocations: 0 / 0.7546 GB, free: 7.852 MB / 0.6355 GB