Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.418/2.418, allocations: 248.5 MB / 261.1 MB, free: 5.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001562/0.001562, allocations: 174.6 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.2 MB / 0.571 GB, free: 11.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 101.9 kB / 0.6754 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.898e-05/4.916e-05, allocations: 4 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2267, allocations: 106.3 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8638/1.091, allocations: 130.9 MB / 1.019 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/1.091, allocations: 78.33 kB / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005262/1.096, allocations: 1.24 MB / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.933e-06/1.096, allocations: 0 / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.186e-06/1.096, allocations: 0 / 1.02 GB, free: 3.207 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.0003794/1.097, allocations: 322.4 kB / 1.02 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/1.097, allocations: 12.03 kB / 1.02 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/1.097, allocations: 30.56 kB / 1.02 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/1.097, allocations: 0 / 1.02 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/1.097, allocations: 163 kB / 1.02 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/1.097, allocations: 4 kB / 1.02 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/1.097, allocations: 0 / 1.02 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/1.097, allocations: 37.33 kB / 1.02 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.097, allocations: 2.625 kB / 1.02 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/1.097, allocations: 0 / 1.02 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.097, allocations: 0 / 1.02 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.601e-05/1.097, allocations: 7.984 kB / 1.02 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/1.097, allocations: 149.6 kB / 1.02 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.736e-05/1.097, allocations: 18.58 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/1.097, allocations: 12.83 kB / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008616/1.098, allocations: 437.5 kB / 1.021 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/1.098, allocations: 37.23 kB / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 4.398e-06/1.098, allocations: 4 kB / 1.021 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001514/1.099, allocations: 33.08 kB / 1.021 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/1.099, allocations: 55.39 kB / 1.021 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.378e-05/1.099, allocations: 85 kB / 1.021 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/1.099, allocations: 25.7 kB / 1.021 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/1.099, allocations: 80.14 kB / 1.021 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/1.099, allocations: 3.984 kB / 1.021 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/1.099, allocations: 4 kB / 1.021 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.099, allocations: 314.8 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/1.099, allocations: 4.031 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-06/1.099, allocations: 3.812 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.588e-05/1.099, allocations: 4 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.099, allocations: 0 / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.097e-05/1.099, allocations: 33.64 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.099, allocations: 4 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/1.099, allocations: 0 / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.099, allocations: 3.984 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.004e-05/1.099, allocations: 12.03 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.099, allocations: 0 / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.321e-05/1.099, allocations: 0 / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/1.099, allocations: 0 / 1.022 GB, free: 1.051 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 8.081e-05/1.099, allocations: 112.9 kB / 1.022 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-06/1.099, allocations: 0 / 1.022 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/1.099, allocations: 48.45 kB / 1.022 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.099, allocations: 0 / 1.022 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.099, allocations: 0 / 1.022 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.099, allocations: 4.031 kB / 1.022 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/1.1, allocations: 145.6 kB / 1.022 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.1, allocations: 0 / 1.022 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/1.1, allocations: 4.875 kB / 1.022 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.1, allocations: 0 / 1.022 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/1.1, allocations: 0 / 1.022 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.1, allocations: 0 / 1.022 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.1, allocations: 0 / 1.022 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.794e-05/1.1, allocations: 64.56 kB / 1.022 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/1.1, allocations: 81.06 kB / 1.022 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/1.1, allocations: 4 kB / 1.022 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-06/1.1, allocations: 0 / 1.022 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/1.1, allocations: 0 / 1.022 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/1.1, allocations: 11.92 kB / 1.022 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.244e-05/1.1, allocations: 75.28 kB / 1.022 GB, free: 428 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.1, allocations: 0 / 1.022 GB, free: 428 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003105/1.1, allocations: 23.94 kB / 1.022 GB, free: 404 kB / 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.0006685/1.101, allocations: 0.6239 MB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.376e-05/1.101, allocations: 15.83 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.101, allocations: 3.938 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.438e-06/1.101, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/1.101, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/1.102, allocations: 91.03 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/1.102, allocations: 0.6731 MB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.533e-05/1.102, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/1.102, allocations: 11.44 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of SimCode: time 1.082e-06/1.102, allocations: 4.125 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/1.124, allocations: 0.9361 MB / 1.024 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003863/1.125, allocations: 155.5 kB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.245/3.37, allocations: 0 / 1.025 GB, free: 13.84 MB / 0.6511 GB