Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1",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.276/2.276, allocations: 248.5 MB / 261.1 MB, free: 6.039 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.001561/0.001561, allocations: 182.4 kB / 320.4 MB, free: 15.35 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.119/2.119, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.001149/0.001149, allocations: 94.44 kB / 0.6754 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.749e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1984, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.83/1.029, allocations: 130.9 MB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/1.029, allocations: 76.31 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005602/1.035, allocations: 1.283 MB / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/1.035, allocations: 0 / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.781e-06/1.035, allocations: 0 / 1.02 GB, free: 2.812 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.0003443/1.035, allocations: 326.5 kB / 1.02 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.035, allocations: 8.031 kB / 1.02 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/1.035, allocations: 34.06 kB / 1.02 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.136e-05/1.035, allocations: 0 / 1.02 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/1.035, allocations: 163 kB / 1.02 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/1.035, allocations: 0 / 1.02 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/1.035, allocations: 8 kB / 1.02 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/1.035, allocations: 33.62 kB / 1.02 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/1.035, allocations: 0 / 1.02 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/1.035, allocations: 0 / 1.02 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/1.035, allocations: 0 / 1.02 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.526e-05/1.035, allocations: 4 kB / 1.02 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/1.036, allocations: 148.2 kB / 1.021 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.59e-05/1.036, allocations: 18.58 kB / 1.021 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/1.036, allocations: 8.953 kB / 1.021 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000976/1.037, allocations: 452.7 kB / 1.021 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/1.037, allocations: 33.3 kB / 1.021 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.354e-06/1.037, allocations: 4 kB / 1.021 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001388/1.037, allocations: 32.77 kB / 1.021 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/1.037, allocations: 51.41 kB / 1.021 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.042e-05/1.037, allocations: 85 kB / 1.021 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/1.037, allocations: 25.7 kB / 1.021 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/1.037, allocations: 80.14 kB / 1.021 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/1.037, allocations: 0 / 1.021 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/1.037, allocations: 0 / 1.021 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.037, allocations: 322.8 kB / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/1.037, allocations: 4.031 kB / 1.022 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/1.037, allocations: 3.938 kB / 1.022 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/1.037, allocations: 15.06 kB / 1.022 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.037, allocations: 0 / 1.022 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.61e-05/1.037, allocations: 29.7 kB / 1.022 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.038, allocations: 4 kB / 1.022 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.038, allocations: 0 / 1.022 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/1.038, allocations: 0 / 1.022 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/1.038, allocations: 4.094 kB / 1.022 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/1.038, allocations: 4 kB / 1.022 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.338e-05/1.038, allocations: 0 / 1.022 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/1.038, allocations: 0 / 1.022 GB, free: 0.6562 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 7.644e-05/1.038, allocations: 108.9 kB / 1.022 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-06/1.038, allocations: 4 kB / 1.022 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/1.038, allocations: 44.97 kB / 1.022 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.038, allocations: 0 / 1.022 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.038, allocations: 0 / 1.022 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.038, allocations: 4.031 kB / 1.022 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/1.038, allocations: 149.6 kB / 1.022 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/1.038, allocations: 1.062 kB / 1.022 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/1.038, allocations: 4 kB / 1.022 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.038, allocations: 0 / 1.022 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/1.038, allocations: 0 / 1.022 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.038, allocations: 0 / 1.022 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.038, allocations: 0 / 1.022 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/1.038, allocations: 68.44 kB / 1.022 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/1.038, allocations: 81.06 kB / 1.022 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/1.038, allocations: 1.75 kB / 1.022 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.216e-05/1.038, allocations: 3.984 kB / 1.022 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/1.038, allocations: 0 / 1.022 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/1.038, allocations: 4 kB / 1.022 GB, free: 104 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.082e-05/1.038, allocations: 75.28 kB / 1.022 GB, free: 28 kB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/1.038, allocations: 0 / 1.022 GB, free: 28 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000298/1.039, allocations: 27.3 kB / 1.022 GB, free: 4 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.0006466/1.039, allocations: 0.6234 MB / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.377e-05/1.04, allocations: 15.91 kB / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.04, allocations: 0 / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.001e-05/1.04, allocations: 0 / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/1.04, allocations: 4 kB / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/1.04, allocations: 90.77 kB / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/1.04, allocations: 0.677 MB / 1.024 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.641e-05/1.04, allocations: 3.938 kB / 1.024 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/1.04, allocations: 7.562 kB / 1.024 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/1.04, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/1.059, allocations: 0.9343 MB / 1.025 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003118/1.06, allocations: 158.1 kB / 1.025 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/3.303, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.6511 GB