Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006999/0.0006999, allocations: 98.48 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.0007599/0.00076, allocations: 190.7 kB / 16.93 MB, free: 6.75 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.262/1.262, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.71/0.71, allocations: 132.3 MB / 424.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 12 kB / 0.5046 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4093, allocations: 81.57 MB / 0.5843 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0005457/0.4099, allocations: 315.3 kB / 0.5846 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.4112, allocations: 1.243 MB / 0.5858 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-06/0.4112, allocations: 0.8125 kB / 0.5858 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.919e-06/0.4112, allocations: 0 / 0.5858 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.315e-06/0.4112, allocations: 0 / 0.5858 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.4115, allocations: 39.48 kB / 0.5858 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.155e-05/0.4115, allocations: 6.75 kB / 0.5859 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.39e-05/0.4115, allocations: 5.469 kB / 0.5859 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.017e-06/0.4115, allocations: 4.984 kB / 0.5859 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.243e-05/0.4116, allocations: 1.375 kB / 0.5859 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-06/0.4116, allocations: 1.25 kB / 0.5859 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.4118, allocations: 91.77 kB / 0.586 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.4118, allocations: 3.984 kB / 0.586 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.4118, allocations: 27.3 kB / 0.586 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.105e-05/0.4119, allocations: 29.47 kB / 0.586 GB, free: 2.824 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.4119, allocations: 0 / 0.586 GB, free: 2.824 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.4119, allocations: 0 / 0.586 GB, free: 2.824 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.195e-06/0.4119, allocations: 4.906 kB / 0.586 GB, free: 2.82 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000171/0.4121, allocations: 324.8 kB / 0.5863 GB, free: 2.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.574e-05/0.4121, allocations: 9.406 kB / 0.5863 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.364e-05/0.4122, allocations: 1.734 kB / 0.5863 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.375e-05/0.4122, allocations: 169 kB / 0.5865 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.4122, allocations: 9.625 kB / 0.5865 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-06/0.4122, allocations: 384 / 0.5865 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.292e-05/0.4123, allocations: 33.19 kB / 0.5865 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-06/0.4123, allocations: 1.219 kB / 0.5865 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-06/0.4123, allocations: 4.609 kB / 0.5865 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-06/0.4123, allocations: 0 / 0.5865 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.177e-05/0.4123, allocations: 2.219 kB / 0.5865 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.112e-05/0.4124, allocations: 144.8 kB / 0.5867 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.678e-05/0.4124, allocations: 23.83 kB / 0.5867 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.4125, allocations: 6.797 kB / 0.5867 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003742/0.4128, allocations: 0.5615 MB / 0.5873 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.034e-05/0.4129, allocations: 34.5 kB / 0.5873 GB, free: 1.285 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.4129, allocations: 0 / 0.5873 GB, free: 1.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 8.276e-05/0.413, allocations: 37.81 kB / 0.5873 GB, free: 1.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.413, allocations: 51.92 kB / 0.5874 GB, free: 1.188 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.544e-05/0.413, allocations: 89.86 kB / 0.5875 GB, free: 1.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.413, allocations: 29.64 kB / 0.5875 GB, free: 1.055 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.17e-05/0.413, allocations: 89.27 kB / 0.5876 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.4131, allocations: 5.188 kB / 0.5876 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.4131, allocations: 10.42 kB / 0.5876 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.4131, allocations: 312.3 kB / 0.5879 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-06/0.4131, allocations: 1.344 kB / 0.5879 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-06/0.4132, allocations: 0.9688 kB / 0.5879 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.4132, allocations: 12.48 kB / 0.5879 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.4132, allocations: 64 / 0.5879 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.16e-05/0.4132, allocations: 36.64 kB / 0.5879 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4133, allocations: 9.531 kB / 0.588 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.4133, allocations: 0 / 0.588 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4133, allocations: 2.016 kB / 0.588 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.586e-05/0.4133, allocations: 4.812 kB / 0.588 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.4133, allocations: 1.344 kB / 0.588 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.4133, allocations: 0.875 kB / 0.588 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.4133, allocations: 0 / 0.588 GB, free: 0.5781 MB / 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 (1): * Single equations (assignments): 1 * 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.143e-05/0.4134, allocations: 114.4 kB / 0.5881 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-06/0.4134, allocations: 4.688 kB / 0.5881 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.395e-05/0.4135, allocations: 43.91 kB / 0.5881 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.4135, allocations: 5.062 kB / 0.5881 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4135, allocations: 0.75 kB / 0.5881 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.4135, allocations: 1.031 kB / 0.5881 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.027e-05/0.4136, allocations: 148.1 kB / 0.5883 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4136, allocations: 0.7031 kB / 0.5883 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.4136, allocations: 10 kB / 0.5883 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4136, allocations: 4.688 kB / 0.5883 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.4136, allocations: 1.281 kB / 0.5883 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4136, allocations: 0 / 0.5883 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.4136, allocations: 5 kB / 0.5883 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.692e-05/0.4137, allocations: 58.47 kB / 0.5883 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.4137, allocations: 77.11 kB / 0.5884 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.4137, allocations: 5.375 kB / 0.5884 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-06/0.4137, allocations: 4.031 kB / 0.5884 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.4137, allocations: 1.641 kB / 0.5884 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.4137, allocations: 0.7812 kB / 0.5884 GB, free: 36 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.853e-05/0.4138, allocations: 76.06 kB / 0.5885 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4138, allocations: 0 / 0.5885 GB, free: 15.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001796/0.414, allocations: 5.516 kB / 0.5885 GB, free: 15.96 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 (1): * Single equations (assignments): 1 * 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.0001514/0.4141, allocations: 102.2 kB / 0.5886 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.68e-05/0.4142, allocations: 16.83 kB / 0.5886 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4142, allocations: 0 / 0.5886 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.754e-06/0.4142, allocations: 3.031 kB / 0.5886 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.4144, allocations: 3 kB / 0.5886 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001743/0.4145, allocations: 95.45 kB / 0.5887 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.4148, allocations: 0.675 MB / 0.5894 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.4148, allocations: 9.172 kB / 0.5894 GB, free: 15.04 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4148, allocations: 0 / 0.5894 GB, free: 15.04 MB / 446.1 MB Notification: Performance of Templates: time 0.001676/0.4165, allocations: 431.1 kB / 0.5898 GB, free: 15.01 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunctionCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.o] Error 1