Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00074/0.00074, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 185.4 kB / 16.92 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6928/0.6928, allocations: 132.3 MB / 424.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003113, allocations: 15.98 kB / 0.5046 GB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4, allocations: 81.59 MB / 0.5843 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.001583/0.4016, allocations: 1.219 MB / 0.5855 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.4026, allocations: 0.6322 MB / 0.5861 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.4026, allocations: 3.344 kB / 0.5861 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.4026, allocations: 5.062 kB / 0.5861 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.4027, allocations: 9.609 kB / 0.5861 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.4029, allocations: 51.8 kB / 0.5862 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.403, allocations: 42.94 kB / 0.5862 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.723e-05/0.4031, allocations: 10.88 kB / 0.5862 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.473e-05/0.4032, allocations: 11.62 kB / 0.5862 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.4033, allocations: 19.97 kB / 0.5862 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.4033, allocations: 1.062 kB / 0.5862 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.4034, allocations: 92.86 kB / 0.5863 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.4035, allocations: 6.266 kB / 0.5863 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.4035, allocations: 42.08 kB / 0.5864 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.4036, allocations: 56.78 kB / 0.5864 GB, free: 2.555 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4036, allocations: 0 / 0.5864 GB, free: 2.555 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4036, allocations: 1 kB / 0.5864 GB, free: 2.555 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.4036, allocations: 0 / 0.5864 GB, free: 2.555 MB / 430.1 MB 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.0003334/0.404, allocations: 361.7 kB / 0.5868 GB, free: 2.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.404, allocations: 9.094 kB / 0.5868 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.4041, allocations: 7.188 kB / 0.5868 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.462e-05/0.4041, allocations: 176.5 kB / 0.587 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4042, allocations: 6.688 kB / 0.587 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.4042, allocations: 2.312 kB / 0.587 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.4043, allocations: 63.59 kB / 0.587 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.4043, allocations: 0 / 0.587 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.4044, allocations: 0 / 0.587 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.4044, allocations: 1.406 kB / 0.587 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.689e-05/0.4045, allocations: 31.52 kB / 0.5871 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.4048, allocations: 280.7 kB / 0.5873 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.964e-05/0.4049, allocations: 35.78 kB / 0.5874 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.4049, allocations: 15.83 kB / 0.5874 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003065/0.4052, allocations: 0.5613 MB / 0.5879 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.4053, allocations: 36 kB / 0.588 GB, free: 0.875 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4053, allocations: 0 / 0.588 GB, free: 0.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002312/0.4055, allocations: 64.61 kB / 0.588 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.4055, allocations: 60.31 kB / 0.5881 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.4056, allocations: 120 kB / 0.5882 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.4056, allocations: 30.31 kB / 0.5882 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.4057, allocations: 87.2 kB / 0.5883 GB, free: 0.543 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.4057, allocations: 5.656 kB / 0.5883 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.4057, allocations: 11.58 kB / 0.5883 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.4057, allocations: 321.5 kB / 0.5886 GB, free: 208 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.4058, allocations: 9.141 kB / 0.5886 GB, free: 208 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.4058, allocations: 19.02 kB / 0.5887 GB, free: 200 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.32e-05/0.4059, allocations: 27.81 kB / 0.5887 GB, free: 188 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4059, allocations: 0 / 0.5887 GB, free: 188 kB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001137/0.406, allocations: 64.78 kB / 0.5887 GB, free: 144 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.4061, allocations: 9.156 kB / 0.5888 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4061, allocations: 0.7969 kB / 0.5888 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4061, allocations: 0.875 kB / 0.5888 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.4062, allocations: 6.203 kB / 0.5888 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4062, allocations: 1.375 kB / 0.5888 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.4062, allocations: 8.266 kB / 0.5888 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.4062, allocations: 0.5156 kB / 0.5888 GB, free: 136 kB / 430.1 MB 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 4.4e-05/0.4063, allocations: 122.4 kB / 0.5889 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.4063, allocations: 7.562 kB / 0.5889 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.4065, allocations: 65.38 kB / 0.589 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4065, allocations: 0.5625 kB / 0.589 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4065, allocations: 1.375 kB / 0.589 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4065, allocations: 0 / 0.589 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.4067, allocations: 172.8 kB / 0.5891 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4067, allocations: 1.312 kB / 0.5891 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.4067, allocations: 15.66 kB / 0.5891 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4067, allocations: 0 / 0.5891 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.4068, allocations: 0.6094 kB / 0.5891 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.4068, allocations: 1.344 kB / 0.5891 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4068, allocations: 0.75 kB / 0.5891 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.4069, allocations: 159.5 kB / 0.5893 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.407, allocations: 91.44 kB / 0.5894 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.407, allocations: 0.5625 kB / 0.5894 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.818e-05/0.4071, allocations: 3.531 kB / 0.5894 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.4071, allocations: 2.438 kB / 0.5894 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.4071, allocations: 1.938 kB / 0.5894 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.52e-05/0.4072, allocations: 100.9 kB / 0.5895 GB, free: 15.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4072, allocations: 0.7812 kB / 0.5895 GB, free: 15.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.4074, allocations: 13.05 kB / 0.5895 GB, free: 15.41 MB / 446.1 MB 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.0001394/0.4075, allocations: 103.3 kB / 0.5896 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.4077, allocations: 31.62 kB / 0.5896 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.4077, allocations: 0 / 0.5896 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.996e-05/0.4077, allocations: 15.34 kB / 0.5896 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.4079, allocations: 2.422 kB / 0.5896 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.4082, allocations: 181.5 kB / 0.5898 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.4085, allocations: 0.6807 MB / 0.5905 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.4085, allocations: 11.67 kB / 0.5905 GB, free: 14.44 MB / 446.1 MB Notification: Performance of SimCode: time 2.114e-06/0.4085, allocations: 0 / 0.5905 GB, free: 14.44 MB / 446.1 MB Notification: Performance of Templates: time 0.00216/0.4107, allocations: 0.7021 MB / 0.5912 GB, free: 14.39 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Utilities.Math.Examples.SpliceCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.SpliceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.SpliceCalcHelperMain.o] Error 1