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.149/2.149, 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.001621/0.00162, allocations: 171.3 kB / 325.5 MB, free: 2.922 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.399/2.399, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001157/0.001157, allocations: 108.4 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004699, allocations: 12.88 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2495, allocations: 106.3 MB / 0.8988 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2532/0.5027, allocations: 131.7 MB / 1.027 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/0.5031, allocations: 87.92 kB / 1.028 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005632/0.5087, allocations: 1.218 MB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5088, allocations: 0 / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.5088, allocations: 0 / 1.029 GB, free: 12.34 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003401/0.5091, allocations: 335.4 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.5092, allocations: 8.031 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.5093, allocations: 34.56 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.125e-05/0.5093, allocations: 4 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.5094, allocations: 167 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.5094, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.5095, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.5096, allocations: 29.7 kB / 1.029 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5096, allocations: 0 / 1.029 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.5096, allocations: 0 / 1.029 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.5096, allocations: 0 / 1.029 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.769e-05/0.5097, allocations: 7.938 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.5098, allocations: 153.7 kB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.282e-05/0.5099, allocations: 18.56 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006203/0.5105, allocations: 0.5584 MB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.5106, allocations: 30.56 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.5106, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001687/0.5108, allocations: 45.55 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.5108, allocations: 55.34 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.011e-05/0.5109, allocations: 88.98 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.5109, allocations: 25.7 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.5109, allocations: 84.14 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.511, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.511, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5111, allocations: 310.8 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.5111, allocations: 8.125 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/0.5112, allocations: 0 / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.336e-05/0.5112, allocations: 3.953 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5112, allocations: 0 / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.922e-05/0.5113, allocations: 37.64 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.5113, allocations: 4 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.5113, allocations: 7.922 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5114, allocations: 0 / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.5114, allocations: 4 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.5115, allocations: 4.078 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.557e-05/0.5115, allocations: 4 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.5115, allocations: 0 / 1.031 GB, free: 9.992 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 (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.904e-05/0.5116, allocations: 114.7 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.5116, allocations: 4 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.5117, allocations: 36.81 kB / 1.031 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.547e-06/0.5118, allocations: 3.984 kB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5118, allocations: 4.031 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5118, allocations: 0 / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.5119, allocations: 149.7 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.5119, allocations: 7.891 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.512, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.512, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.512, allocations: 3.984 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.512, allocations: 4 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.512, allocations: 0 / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.579e-05/0.5121, allocations: 53.14 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.5122, allocations: 85.06 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.5122, allocations: 4 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.467e-05/0.5122, allocations: 0 / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.5122, allocations: 7.922 kB / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.5123, allocations: 4 kB / 1.031 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.244e-05/0.5123, allocations: 75.28 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5123, allocations: 0 / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002525/0.5126, allocations: 11.94 kB / 1.031 GB, free: 9.332 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 (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.0004591/0.513, allocations: 0.6099 MB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.997e-05/0.5131, allocations: 0 / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5131, allocations: 4 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.5132, allocations: 4.094 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.5133, allocations: 0 / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.5137, allocations: 116.3 kB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.5139, allocations: 0.6731 MB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.514, allocations: 0 / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.514, allocations: 11.44 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of SimCode: time 7.11e-07/0.514, allocations: 3.938 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.536, allocations: 0.816 MB / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003485/0.5364, allocations: 182.4 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/2.81, allocations: 0 / 1.034 GB, free: 6.906 MB / 0.6823 GB