Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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.Examples.BesselJ1,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_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.204/2.204, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001712/0.001712, allocations: 187.7 kB / 325.5 MB, free: 2.906 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.542/2.542, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.0011/0.0011, allocations: 99.92 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006538/0.0006539, allocations: 19.86 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2181, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2383/0.4564, allocations: 131.7 MB / 1.027 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.4568, allocations: 67.97 kB / 1.027 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00748/0.4643, allocations: 1.569 MB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4643, allocations: 4 kB / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.4644, allocations: 4 kB / 1.029 GB, free: 11.99 MB / 0.6823 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.0005366/0.4649, allocations: 359.2 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.465, allocations: 8.031 kB / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.465, allocations: 38.55 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.4651, allocations: 4 kB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.4652, allocations: 167 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4652, allocations: 4 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.4653, allocations: 4 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.4655, allocations: 57.61 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4655, allocations: 0 / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4656, allocations: 0 / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4656, allocations: 0 / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.4659, allocations: 47.95 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000683/0.4666, allocations: 268.8 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.4669, allocations: 46.55 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.4682, allocations: 449.5 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.4683, allocations: 34.56 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 4.639e-06/0.4683, allocations: 4 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0007894/0.4691, allocations: 97.73 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.4692, allocations: 51.41 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.4693, allocations: 93.81 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.4694, allocations: 33.64 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.4695, allocations: 84.12 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.4695, allocations: 7.906 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.4695, allocations: 0 / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002146/0.4698, allocations: 314.8 kB / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.47, allocations: 27.95 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.4702, allocations: 23.92 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.4705, allocations: 28.03 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4705, allocations: 0 / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004915/0.471, allocations: 69.67 kB / 1.031 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.471, allocations: 4 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4711, allocations: 0 / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.4711, allocations: 8.016 kB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.4713, allocations: 8 kB / 1.031 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.4713, allocations: 4 kB / 1.031 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.4715, allocations: 7.984 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.4715, allocations: 3.953 kB / 1.031 GB, free: 9.367 MB / 0.6823 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 () * Number of clocked 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 0.0001407/0.4717, allocations: 113.8 kB / 1.031 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.4717, allocations: 0 / 1.031 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006088/0.4724, allocations: 92.62 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4724, allocations: 192 / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.4724, allocations: 3.984 kB / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4724, allocations: 3.984 kB / 1.031 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.4728, allocations: 157.6 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4729, allocations: 4.031 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.4731, allocations: 15.98 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.4731, allocations: 0 / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4731, allocations: 0 / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4731, allocations: 0 / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.4731, allocations: 0 / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006599/0.4738, allocations: 175.4 kB / 1.032 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.4739, allocations: 81.11 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.474, allocations: 0 / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.4742, allocations: 15.98 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.4742, allocations: 8.031 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.4742, allocations: 0 / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.083e-05/0.4743, allocations: 83.27 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.11e-07/0.4743, allocations: 0 / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005926/0.4749, allocations: 27.94 kB / 1.032 GB, free: 8.5 MB / 0.6823 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 () * Number of clocked 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.001392/0.4764, allocations: 0.7397 MB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004708/0.4769, allocations: 51.84 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4769, allocations: 0 / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.4771, allocations: 28.03 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.4775, allocations: 0 / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007951/0.4783, allocations: 150.3 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.4788, allocations: 0.6809 MB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.718e-05/0.4788, allocations: 0 / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.4789, allocations: 7.438 kB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/0.4789, allocations: 4.062 kB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.5017, allocations: 1.219 MB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003589/0.5022, allocations: 167.9 kB / 1.035 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/2.809, allocations: 4.812 kB / 1.035 GB, free: 5.402 MB / 0.6823 GB