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.268/2.268, allocations: 248.7 MB / 256.2 MB, free: 7.109 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: 188.3 kB / 315.4 MB, free: 4.02 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.183/2.183, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 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.001078/0.001078, allocations: 95.81 kB / 0.6704 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.53e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8428/1.049, allocations: 131.2 MB / 1.012 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/1.049, allocations: 78.38 kB / 1.012 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005466/1.055, allocations: 1.274 MB / 1.014 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/1.055, allocations: 0 / 1.014 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.839e-06/1.055, allocations: 0 / 1.014 GB, free: 6.469 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.0003113/1.055, allocations: 326.4 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/1.055, allocations: 12.03 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/1.055, allocations: 0 / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/1.055, allocations: 167 kB / 1.014 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/1.055, allocations: 0 / 1.014 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/1.055, allocations: 0 / 1.014 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.607e-05/1.055, allocations: 4 kB / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.841e-05/1.055, allocations: 25.7 kB / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.055, allocations: 0 / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-06/1.055, allocations: 3.938 kB / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/1.055, allocations: 0 / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/1.056, allocations: 135 kB / 1.014 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.83e-05/1.056, allocations: 14.58 kB / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/1.056, allocations: 8.797 kB / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008772/1.056, allocations: 453.6 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/1.057, allocations: 30.56 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.542e-06/1.057, allocations: 0 / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001485/1.057, allocations: 33.52 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/1.057, allocations: 56.09 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.215e-05/1.057, allocations: 85 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/1.057, allocations: 29.7 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/1.057, allocations: 80.14 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/1.057, allocations: 4.031 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/1.057, allocations: 0 / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.057, allocations: 317.5 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.217e-06/1.057, allocations: 0 / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-06/1.057, allocations: 3.938 kB / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/1.057, allocations: 4 kB / 1.015 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.057, allocations: 0 / 1.015 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.144e-05/1.057, allocations: 37.59 kB / 1.015 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.057, allocations: 8.094 kB / 1.015 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.057, allocations: 0 / 1.015 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/1.057, allocations: 4 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.613e-05/1.057, allocations: 2.438 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/1.057, allocations: 0 / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.292e-05/1.057, allocations: 3.938 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/1.057, allocations: 4.766 kB / 1.015 GB, free: 4.387 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.602e-05/1.058, allocations: 105 kB / 1.015 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.568e-05/1.058, allocations: 37.59 kB / 1.015 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-06/1.058, allocations: 4.031 kB / 1.015 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/1.058, allocations: 41.39 kB / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.058, allocations: 0 / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.058, allocations: 0 / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.058, allocations: 0 / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/1.058, allocations: 126.2 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.058, allocations: 3.953 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.621e-05/1.058, allocations: 0 / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.058, allocations: 0 / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/1.058, allocations: 3.938 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.058, allocations: 4.031 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.465e-06/1.058, allocations: 11.98 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.229e-05/1.058, allocations: 52.83 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/1.058, allocations: 84.97 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/1.058, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-06/1.058, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/1.058, allocations: 4 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/1.058, allocations: 8.016 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.849e-05/1.058, allocations: 75.28 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.51e-07/1.058, allocations: 0 / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003043/1.059, allocations: 19.94 kB / 1.016 GB, free: 3.723 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.000651/1.059, allocations: 0.6317 MB / 1.016 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.537e-05/1.059, allocations: 7.438 kB / 1.016 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.059, allocations: 0 / 1.016 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.645e-06/1.059, allocations: 3.938 kB / 1.016 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/1.06, allocations: 4 kB / 1.016 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/1.06, allocations: 95.62 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/1.06, allocations: 0.6767 MB / 1.017 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.688e-05/1.06, allocations: 4 kB / 1.017 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/1.06, allocations: 7.438 kB / 1.017 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/1.06, allocations: 0 / 1.017 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/1.093, allocations: 0.6407 MB / 1.018 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002962/1.094, allocations: 153 kB / 1.018 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.275/3.368, allocations: 0 / 1.018 GB, free: 1.375 MB / 0.6355 GB