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.522/2.522, allocations: 248.7 MB / 256.2 MB, free: 7.125 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.00147/0.00147, allocations: 184.5 kB / 315.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.3 MB / 0.5662 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 94.47 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.585e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2152, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9194/1.135, allocations: 131.1 MB / 1.012 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/1.135, allocations: 82.48 kB / 1.012 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00539/1.14, allocations: 1.23 MB / 1.013 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.884e-06/1.141, allocations: 0 / 1.013 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.558e-06/1.141, allocations: 0 / 1.013 GB, free: 6.441 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.000386/1.141, allocations: 334 kB / 1.014 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.141, allocations: 12.03 kB / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/1.141, allocations: 0 / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/1.141, allocations: 163 kB / 1.014 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/1.141, allocations: 0 / 1.014 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/1.141, allocations: 4 kB / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.379e-05/1.141, allocations: 7.984 kB / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.909e-05/1.141, allocations: 25.7 kB / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.141, allocations: 0 / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/1.141, allocations: 0 / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.141, allocations: 0 / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/1.142, allocations: 127 kB / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.159e-05/1.142, allocations: 22.52 kB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/1.142, allocations: 8.859 kB / 1.014 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008905/1.143, allocations: 441.3 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/1.143, allocations: 31.31 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.404e-06/1.143, allocations: 4 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001862/1.143, allocations: 37.25 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/1.143, allocations: 55.41 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/1.143, allocations: 85 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/1.143, allocations: 25.7 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/1.143, allocations: 80.14 kB / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/1.143, allocations: 0 / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/1.143, allocations: 3.938 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.143, allocations: 317.4 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/1.143, allocations: 4.031 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/1.143, allocations: 4 kB / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/1.143, allocations: 0 / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.143, allocations: 0 / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.876e-05/1.144, allocations: 37.64 kB / 1.015 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.144, allocations: 4 kB / 1.015 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.144, allocations: 4 kB / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.144, allocations: 0 / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.141e-05/1.144, allocations: 3.625 kB / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.144, allocations: 10.47 kB / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/1.144, allocations: 0 / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/1.144, allocations: 4 kB / 1.015 GB, free: 4.355 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.976e-05/1.144, allocations: 101 kB / 1.015 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.441e-05/1.144, allocations: 41.58 kB / 1.015 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/1.144, allocations: 0 / 1.015 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/1.144, allocations: 37.41 kB / 1.015 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/1.144, allocations: 0 / 1.015 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.144, allocations: 64 / 1.015 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/1.144, allocations: 4 kB / 1.015 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/1.144, allocations: 130.2 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.144, allocations: 3.953 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/1.144, allocations: 0 / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.144, allocations: 0 / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/1.144, allocations: 0 / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.144, allocations: 4 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.144, allocations: 0 / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/1.144, allocations: 64.83 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/1.145, allocations: 88.95 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/1.145, allocations: 0 / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-06/1.145, allocations: 0 / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/1.145, allocations: 4 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/1.145, allocations: 0 / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.289e-05/1.145, allocations: 75.28 kB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/1.145, allocations: 0 / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003072/1.145, allocations: 23.94 kB / 1.016 GB, free: 3.695 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.0007177/1.146, allocations: 0.6316 MB / 1.016 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.782e-05/1.146, allocations: 11.69 kB / 1.016 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.146, allocations: 0 / 1.016 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.667e-06/1.146, allocations: 0 / 1.016 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/1.146, allocations: 8.875 kB / 1.016 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/1.146, allocations: 90.7 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/1.147, allocations: 0.6729 MB / 1.017 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.629e-05/1.147, allocations: 0 / 1.017 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/1.147, allocations: 11.42 kB / 1.017 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/1.147, allocations: 4.125 kB / 1.017 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0385/1.185, allocations: 0.64 MB / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004053/1.186, allocations: 145 kB / 1.018 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/3.332, allocations: 0 / 1.018 GB, free: 1.359 MB / 0.6355 GB