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.433/2.433, allocations: 248.7 MB / 256.2 MB, free: 7.09 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.001513/0.001513, allocations: 180.8 kB / 315.4 MB, free: 4.012 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.224/2.224, allocations: 205.3 MB / 0.5662 GB, free: 0.5664 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.001113/0.001113, allocations: 86.48 kB / 0.6704 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.913e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2414, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.267, allocations: 131.8 MB / 1.013 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/1.267, allocations: 82.19 kB / 1.013 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005391/1.272, allocations: 1.213 MB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.512e-06/1.273, allocations: 0 / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.29e-06/1.273, allocations: 4 kB / 1.014 GB, free: 6.086 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.0003389/1.273, allocations: 335.5 kB / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/1.273, allocations: 8.031 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/1.273, allocations: 0 / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/1.273, allocations: 163 kB / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/1.273, allocations: 4 kB / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/1.273, allocations: 0 / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.578e-05/1.273, allocations: 0 / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.393e-05/1.273, allocations: 33.64 kB / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/1.273, allocations: 4 kB / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/1.273, allocations: 0 / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/1.273, allocations: 0 / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/1.274, allocations: 133.6 kB / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.12e-05/1.274, allocations: 14.58 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/1.274, allocations: 8.953 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000676/1.274, allocations: 0.5608 MB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/1.274, allocations: 30.56 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.773e-06/1.274, allocations: 2.625 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001873/1.275, allocations: 37.62 kB / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/1.275, allocations: 51.41 kB / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.692e-05/1.275, allocations: 85 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/1.275, allocations: 33.64 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/1.275, allocations: 84.17 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/1.275, allocations: 0 / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/1.275, allocations: 0 / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.275, allocations: 311.6 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/1.275, allocations: 0 / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/1.275, allocations: 0 / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/1.275, allocations: 4 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/1.275, allocations: 0 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.247e-05/1.275, allocations: 41.64 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.275, allocations: 8.094 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.275, allocations: 0 / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/1.275, allocations: 3.938 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/1.275, allocations: 7.938 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/1.275, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.547e-05/1.275, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/1.275, allocations: 0 / 1.016 GB, free: 3.84 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 7.691e-05/1.275, allocations: 103.6 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.908e-05/1.276, allocations: 41.64 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/1.276, allocations: 7.969 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/1.276, allocations: 49.33 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.276, allocations: 0 / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.276, allocations: 3.938 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.276, allocations: 3.984 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.781e-05/1.276, allocations: 122.2 kB / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.276, allocations: 3.953 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/1.276, allocations: 4 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/1.276, allocations: 4.031 kB / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/1.276, allocations: 0 / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.276, allocations: 0 / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.276, allocations: 0.5625 kB / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/1.276, allocations: 60.94 kB / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/1.276, allocations: 81.06 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/1.276, allocations: 0 / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.235e-05/1.276, allocations: 0 / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/1.276, allocations: 8.891 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/1.276, allocations: 4 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.594e-05/1.276, allocations: 75.28 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.6e-07/1.276, allocations: 0 / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002691/1.277, allocations: 7.938 kB / 1.017 GB, free: 3.184 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.0005354/1.277, allocations: 0.6117 MB / 1.017 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.523e-05/1.277, allocations: 4 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.277, allocations: 0 / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/1.277, allocations: 4 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/1.277, allocations: 0.7812 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/1.278, allocations: 77.14 kB / 1.017 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/1.278, allocations: 0.6767 MB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.761e-05/1.278, allocations: 4.125 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/1.278, allocations: 11.38 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/1.278, allocations: 4 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/1.314, allocations: 0.5293 MB / 1.018 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003356/1.314, allocations: 158.8 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/3.543, allocations: 0 / 1.019 GB, free: 0.9922 MB / 0.6355 GB