Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunction,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",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.275/2.275, allocations: 248.5 MB / 261.1 MB, free: 6.023 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.001544/0.001543, allocations: 174.4 kB / 320.4 MB, free: 15.36 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.062/2.062, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001084/0.001084, allocations: 93.73 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.351e-05/4.361e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2126, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9098/1.122, allocations: 131.6 MB / 1.019 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004389/1.123, allocations: 81.06 kB / 1.019 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008523/1.131, allocations: 1.213 MB / 1.02 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.765e-06/1.132, allocations: 0 / 1.02 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.663e-06/1.132, allocations: 0 / 1.02 GB, free: 2.172 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.0004115/1.132, allocations: 335.3 kB / 1.021 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/1.132, allocations: 8.031 kB / 1.021 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/1.132, allocations: 34.5 kB / 1.021 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/1.132, allocations: 0 / 1.021 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/1.132, allocations: 163 kB / 1.021 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/1.132, allocations: 4 kB / 1.021 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/1.132, allocations: 0 / 1.021 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/1.133, allocations: 37.62 kB / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.133, allocations: 0 / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/1.133, allocations: 0 / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/1.133, allocations: 0 / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.254e-05/1.133, allocations: 7 kB / 1.021 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/1.133, allocations: 145.6 kB / 1.021 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/1.133, allocations: 18.61 kB / 1.021 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/1.133, allocations: 12.23 kB / 1.021 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000923/1.134, allocations: 0.5584 MB / 1.022 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/1.134, allocations: 37.12 kB / 1.022 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 3.196e-06/1.134, allocations: 0 / 1.022 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001749/1.134, allocations: 33.02 kB / 1.022 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/1.134, allocations: 55.41 kB / 1.022 GB, free: 452 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.754e-05/1.134, allocations: 89.03 kB / 1.022 GB, free: 356 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/1.134, allocations: 25.7 kB / 1.022 GB, free: 324 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/1.134, allocations: 80.14 kB / 1.022 GB, free: 240 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/1.135, allocations: 0 / 1.022 GB, free: 240 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/1.135, allocations: 0 / 1.022 GB, free: 240 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001841/1.135, allocations: 317.5 kB / 1.022 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/1.135, allocations: 0 / 1.022 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/1.135, allocations: 7.75 kB / 1.022 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.015e-05/1.135, allocations: 8.047 kB / 1.022 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.135, allocations: 3.938 kB / 1.022 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000116/1.135, allocations: 33.7 kB / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/1.135, allocations: 4 kB / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.135, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.135, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/1.135, allocations: 4 kB / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/1.135, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/1.135, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/1.135, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.6511 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 9.998e-05/1.135, allocations: 109 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/1.135, allocations: 0 / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/1.136, allocations: 56.14 kB / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/1.136, allocations: 3.984 kB / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.136, allocations: 0 / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.136, allocations: 0 / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/1.136, allocations: 153.6 kB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.136, allocations: 8.906 kB / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.122e-05/1.136, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.136, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/1.136, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/1.136, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.136, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/1.136, allocations: 61.94 kB / 1.023 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/1.136, allocations: 81.06 kB / 1.023 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/1.136, allocations: 4.031 kB / 1.023 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/1.136, allocations: 3.938 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/1.136, allocations: 4 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/1.136, allocations: 0 / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.633e-05/1.137, allocations: 75.28 kB / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.91e-07/1.137, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004247/1.137, allocations: 7.938 kB / 1.023 GB, free: 15.21 MB / 0.6511 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.000625/1.138, allocations: 0.6042 MB / 1.024 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.238e-05/1.138, allocations: 11.62 kB / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.138, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.073e-05/1.138, allocations: 4 kB / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/1.138, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/1.138, allocations: 75.36 kB / 1.024 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/1.139, allocations: 0.6847 MB / 1.024 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.295e-05/1.139, allocations: 4 kB / 1.024 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/1.139, allocations: 7.438 kB / 1.024 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of SimCode: time 1.413e-06/1.139, allocations: 0 / 1.024 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/1.161, allocations: 0.8182 MB / 1.025 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003453/1.161, allocations: 161.8 kB / 1.025 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.497, allocations: 0 / 1.025 GB, free: 12.81 MB / 0.6511 GB