Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01286/0.01286, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002611/0.002611, allocations: 192 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.1 MB / 222.6 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 292.3 MB / 0.5491 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 62.8 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3589, allocations: 114.5 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.004052/0.363, allocations: 1.557 MB / 0.7848 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.3645, allocations: 0.6846 MB / 0.7855 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.3645, allocations: 4 kB / 0.7855 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.024e-05/0.3646, allocations: 3.984 kB / 0.7855 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.3647, allocations: 7.875 kB / 0.7855 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.365, allocations: 51.83 kB / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.226e-05/0.3651, allocations: 31.92 kB / 0.7856 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3652, allocations: 15.98 kB / 0.7856 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.3654, allocations: 19.92 kB / 0.7856 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.305e-05/0.3654, allocations: 15.92 kB / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.3655, allocations: 7.938 kB / 0.7857 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.3657, allocations: 95.89 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.3657, allocations: 11.94 kB / 0.7858 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.3658, allocations: 15.92 kB / 0.7858 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.3659, allocations: 56.14 kB / 0.7858 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3659, allocations: 0 / 0.7858 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.402e-06/0.366, allocations: 4 kB / 0.7858 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.366, allocations: 3.938 kB / 0.7858 GB, free: 11.41 MB / 0.6075 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.0005943/0.3666, allocations: 363.3 kB / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 0.000175/0.3668, allocations: 8.031 kB / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.3668, allocations: 4.938 kB / 0.7862 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3669, allocations: 172.2 kB / 0.7864 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.367, allocations: 4.359 kB / 0.7864 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.367, allocations: 384 / 0.7864 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.3673, allocations: 58 kB / 0.7864 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3674, allocations: 4 kB / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3674, allocations: 0 / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3674, allocations: 0 / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.3675, allocations: 27.98 kB / 0.7865 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.368, allocations: 288.7 kB / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.848e-05/0.3681, allocations: 30.58 kB / 0.7868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.3682, allocations: 16.91 kB / 0.7868 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009615/0.3691, allocations: 0.5544 MB / 0.7873 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.3692, allocations: 30.56 kB / 0.7873 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.996e-06/0.3692, allocations: 0 / 0.7873 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000266/0.3695, allocations: 73.59 kB / 0.7874 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.3695, allocations: 51.41 kB / 0.7875 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3697, allocations: 125.8 kB / 0.7876 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.3697, allocations: 25.7 kB / 0.7876 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.3698, allocations: 96.06 kB / 0.7877 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.3698, allocations: 3.906 kB / 0.7877 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.3698, allocations: 17.72 kB / 0.7877 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.37, allocations: 318.9 kB / 0.788 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.557e-05/0.3701, allocations: 12 kB / 0.788 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.3701, allocations: 11.98 kB / 0.7881 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.3702, allocations: 28.78 kB / 0.7881 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3702, allocations: 0 / 0.7881 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001223/0.3703, allocations: 57.59 kB / 0.7881 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3704, allocations: 7.938 kB / 0.7881 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3704, allocations: 4.094 kB / 0.7881 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3704, allocations: 0 / 0.7881 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.971e-05/0.3705, allocations: 11.98 kB / 0.7882 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.3705, allocations: 3.938 kB / 0.7882 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.3705, allocations: 8 kB / 0.7882 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.3705, allocations: 0 / 0.7882 GB, free: 8.672 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.875e-05/0.3707, allocations: 113.8 kB / 0.7883 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.3707, allocations: 3.906 kB / 0.7883 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.3709, allocations: 69.14 kB / 0.7883 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3709, allocations: 4 kB / 0.7883 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3709, allocations: 0 / 0.7883 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3709, allocations: 0 / 0.7883 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.3711, allocations: 169.6 kB / 0.7885 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3711, allocations: 0 / 0.7885 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.3712, allocations: 7.984 kB / 0.7885 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3712, allocations: 0 / 0.7885 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3712, allocations: 0 / 0.7885 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3712, allocations: 0 / 0.7885 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3712, allocations: 4.031 kB / 0.7885 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.3714, allocations: 155.4 kB / 0.7887 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.3715, allocations: 81.02 kB / 0.7887 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.3715, allocations: 8 kB / 0.7888 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.09e-05/0.3716, allocations: 0 / 0.7888 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.3717, allocations: 0 / 0.7888 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.3717, allocations: 12.02 kB / 0.7888 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.958e-05/0.3718, allocations: 87.28 kB / 0.7888 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3718, allocations: 0 / 0.7888 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003237/0.3721, allocations: 19.92 kB / 0.7889 GB, free: 7.848 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002191/0.3723, allocations: 99.25 kB / 0.789 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.3725, allocations: 23.98 kB / 0.789 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.3725, allocations: 4 kB / 0.789 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/0.3726, allocations: 23.92 kB / 0.789 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.3728, allocations: 7.094 kB / 0.789 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.3733, allocations: 169 kB / 0.7892 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.3737, allocations: 0.6809 MB / 0.7898 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.3737, allocations: 11.48 kB / 0.7899 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.3738, allocations: 4 kB / 0.7899 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of Templates: time 0.002799/0.3766, allocations: 0.708 MB / 0.7906 GB, free: 6.062 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.Math.Examples.SpliceCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.SpliceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.SpliceCalcHelperMain.o] Error 1