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.0009821/0.0009821, allocations: 96.14 kB / 15.87 MB, free: 16 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.001004/0.001004, allocations: 194.8 kB / 16.79 MB, free: 6.812 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.301/1.301, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7466/0.7466, allocations: 132.2 MB / 422.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 59.78 kB / 0.5017 GB, free: 9.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1637, allocations: 80.2 MB / 0.58 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001657/0.1654, allocations: 0.6309 MB / 0.5807 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1668, allocations: 1.25 MB / 0.5819 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-06/0.1668, allocations: 0 / 0.5819 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.1669, allocations: 0 / 0.5819 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.989e-06/0.1669, allocations: 0 / 0.5819 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1672, allocations: 43.89 kB / 0.5819 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.474e-05/0.1672, allocations: 0 / 0.5819 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.1673, allocations: 0 / 0.5819 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.489e-05/0.1673, allocations: 11.94 kB / 0.5819 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.1673, allocations: 0 / 0.5819 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.1673, allocations: 0 / 0.5819 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.1675, allocations: 99.83 kB / 0.582 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.1676, allocations: 0 / 0.582 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.1676, allocations: 4 kB / 0.582 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.1677, allocations: 31.95 kB / 0.5821 GB, free: 7.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1677, allocations: 0 / 0.5821 GB, free: 7.164 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1677, allocations: 0 / 0.5821 GB, free: 7.164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.975e-06/0.1677, allocations: 0 / 0.5821 GB, free: 7.164 MB / 494.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.0003052/0.168, allocations: 331.6 kB / 0.5824 GB, free: 6.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1681, allocations: 12.03 kB / 0.5824 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.1681, allocations: 0.9375 kB / 0.5824 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.431e-05/0.1682, allocations: 172.3 kB / 0.5826 GB, free: 6.574 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1682, allocations: 4.375 kB / 0.5826 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.1682, allocations: 384 / 0.5826 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.221e-05/0.1683, allocations: 34.02 kB / 0.5826 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1683, allocations: 3.938 kB / 0.5826 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.1683, allocations: 0 / 0.5826 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1683, allocations: 0 / 0.5826 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.592e-05/0.1684, allocations: 4 kB / 0.5826 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.1685, allocations: 149.7 kB / 0.5827 GB, free: 6.328 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.469e-05/0.1686, allocations: 18.56 kB / 0.5828 GB, free: 6.301 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.1686, allocations: 8.953 kB / 0.5828 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005577/0.1691, allocations: 0.5583 MB / 0.5833 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.1692, allocations: 38.5 kB / 0.5834 GB, free: 5.555 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1692, allocations: 0 / 0.5834 GB, free: 5.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001221/0.1693, allocations: 41.61 kB / 0.5834 GB, free: 5.508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.1693, allocations: 51.41 kB / 0.5834 GB, free: 5.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.953e-05/0.1694, allocations: 89.86 kB / 0.5835 GB, free: 5.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.1694, allocations: 25.7 kB / 0.5836 GB, free: 5.316 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.1694, allocations: 88.14 kB / 0.5836 GB, free: 5.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.1695, allocations: 8.031 kB / 0.5836 GB, free: 5.219 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.1695, allocations: 9.719 kB / 0.5837 GB, free: 5.203 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1696, allocations: 310.8 kB / 0.584 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.1696, allocations: 4 kB / 0.584 GB, free: 4.887 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.1696, allocations: 0 / 0.584 GB, free: 4.887 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/0.1697, allocations: 12.8 kB / 0.584 GB, free: 4.871 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1697, allocations: 0 / 0.584 GB, free: 4.871 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.007e-05/0.1697, allocations: 37.78 kB / 0.584 GB, free: 4.828 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1697, allocations: 11.94 kB / 0.584 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1698, allocations: 4 kB / 0.584 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1698, allocations: 3.938 kB / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.999e-05/0.1698, allocations: 0 / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1698, allocations: 0 / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.036e-05/0.1698, allocations: 0 / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1698, allocations: 4 kB / 0.584 GB, free: 4.805 MB / 494.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 5.839e-05/0.1699, allocations: 106.5 kB / 0.5841 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-06/0.1699, allocations: 3.938 kB / 0.5841 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.517e-05/0.17, allocations: 52.69 kB / 0.5842 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.17, allocations: 0 / 0.5842 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.17, allocations: 4 kB / 0.5842 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.17, allocations: 0 / 0.5842 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.001e-05/0.1701, allocations: 145.7 kB / 0.5843 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1701, allocations: 0 / 0.5843 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.1702, allocations: 4 kB / 0.5843 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1702, allocations: 3.938 kB / 0.5843 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.1702, allocations: 4.031 kB / 0.5843 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1702, allocations: 0 / 0.5843 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1702, allocations: 4 kB / 0.5843 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.673e-05/0.1703, allocations: 65.06 kB / 0.5844 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.1703, allocations: 77.11 kB / 0.5845 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.1703, allocations: 3.938 kB / 0.5845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-06/0.1703, allocations: 0 / 0.5845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.1704, allocations: 4.031 kB / 0.5845 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.1704, allocations: 0 / 0.5845 GB, free: 4.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.566e-05/0.1704, allocations: 75.28 kB / 0.5846 GB, free: 4.156 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1704, allocations: 4 kB / 0.5846 GB, free: 4.152 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001741/0.1706, allocations: 4 kB / 0.5846 GB, free: 4.148 MB / 494.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.0001599/0.1708, allocations: 103.2 kB / 0.5847 GB, free: 4.039 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.648e-05/0.1708, allocations: 4 kB / 0.5847 GB, free: 4.035 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1708, allocations: 0 / 0.5847 GB, free: 4.035 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.344e-06/0.1708, allocations: 8.062 kB / 0.5847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.171, allocations: 4.281 kB / 0.5847 GB, free: 4.023 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001856/0.1712, allocations: 104.3 kB / 0.5848 GB, free: 3.891 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.1714, allocations: 0.677 MB / 0.5854 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.1714, allocations: 7.438 kB / 0.5854 GB, free: 3.184 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1715, allocations: 0 / 0.5854 GB, free: 3.184 MB / 494.1 MB Notification: Performance of Templates: time 0.001605/0.1731, allocations: 423.2 kB / 0.5858 GB, free: 2.773 MB / 494.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