Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",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.382/2.382, allocations: 248.7 MB / 256.2 MB, free: 7.004 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.001559/0.001559, allocations: 180.8 kB / 315.4 MB, free: 4.004 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.208/2.208, allocations: 205.3 MB / 0.5662 GB, free: 0.5703 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.001072/0.001071, allocations: 90.53 kB / 0.6704 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.365e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2249, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8885/1.113, allocations: 132.7 MB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.114, allocations: 86.44 kB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0177/1.132, allocations: 3.492 MB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/1.132, allocations: 4 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.226e-06/1.132, allocations: 0 / 1.017 GB, free: 2.977 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00054/1.132, allocations: 403.3 kB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/1.132, allocations: 12.03 kB / 1.018 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/1.132, allocations: 3.906 kB / 1.018 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/1.133, allocations: 171 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/1.133, allocations: 0 / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/1.133, allocations: 4 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001303/1.133, allocations: 31.78 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/1.133, allocations: 65.53 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.133, allocations: 0 / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/1.133, allocations: 0 / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/1.133, allocations: 0 / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/1.133, allocations: 141.8 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/1.133, allocations: 54.11 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/1.133, allocations: 32.5 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/1.133, allocations: 4 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/1.133, allocations: 34.5 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/1.133, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000444/1.134, allocations: 105.1 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/1.134, allocations: 84.73 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/1.134, allocations: 100.9 kB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/1.134, allocations: 29.7 kB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/1.134, allocations: 80.14 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/1.134, allocations: 23.53 kB / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-06/1.134, allocations: 0 / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.134, allocations: 322.7 kB / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/1.134, allocations: 20.58 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/1.135, allocations: 28 kB / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/1.135, allocations: 28.69 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/1.135, allocations: 7.953 kB / 1.019 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003786/1.135, allocations: 101.2 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.493e-05/1.135, allocations: 41.56 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.135, allocations: 0.8125 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.135, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.803e-06/1.135, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/1.135, allocations: 4.328 kB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/1.135, allocations: 4 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/1.135, allocations: 16.05 kB / 1.019 GB, free: 0.9258 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001272/1.136, allocations: 138.7 kB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003792/1.136, allocations: 128.8 kB / 1.019 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/1.136, allocations: 8 kB / 1.019 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/1.136, allocations: 8.609 kB / 1.019 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/1.136, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.136, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.136, allocations: 3.938 kB / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/1.136, allocations: 150 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.136, allocations: 4.031 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/1.136, allocations: 0 / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/1.136, allocations: 0 / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/1.136, allocations: 7.938 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/1.136, allocations: 7.984 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.136, allocations: 0 / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/1.137, allocations: 136.3 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/1.137, allocations: 88.95 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/1.137, allocations: 4.031 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/1.137, allocations: 4 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/1.137, allocations: 11.86 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/1.137, allocations: 11.98 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.223e-05/1.137, allocations: 86.97 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.137, allocations: 0 / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005564/1.138, allocations: 79.92 kB / 1.02 GB, free: 12 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001189/1.139, allocations: 0.768 MB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002998/1.139, allocations: 161.6 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.139, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/1.139, allocations: 133.8 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/1.14, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/1.14, allocations: 184.8 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/1.14, allocations: 0.6925 MB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.358e-06/1.14, allocations: 4 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/1.14, allocations: 11.31 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of SimCode: time 6.71e-07/1.14, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04492/1.185, allocations: 2.385 MB / 1.024 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003125/1.186, allocations: 158.5 kB / 1.024 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/3.607, allocations: 4 kB / 1.024 GB, free: 11.48 MB / 0.6511 GB