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.0008424/0.0008424, allocations: 99.75 kB / 15.71 MB, free: 452 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.001057/0.001057, allocations: 176.9 kB / 16.58 MB, free: 6.422 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.53/1.53, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7627/0.7627, allocations: 132.3 MB / 424 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004764, allocations: 12 kB / 0.504 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.5101, allocations: 81.57 MB / 0.5837 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007161/0.5108, allocations: 310.2 kB / 0.584 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.5124, allocations: 1.201 MB / 0.5852 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.321e-05/0.5124, allocations: 1.344 kB / 0.5852 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.084e-05/0.5124, allocations: 0 / 0.5852 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.614e-06/0.5124, allocations: 0 / 0.5852 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.5127, allocations: 43.14 kB / 0.5852 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.928e-05/0.5128, allocations: 1.328 kB / 0.5852 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.5128, allocations: 2.484 kB / 0.5852 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.5128, allocations: 1.094 kB / 0.5852 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.981e-05/0.5129, allocations: 0.7812 kB / 0.5852 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.405e-06/0.5129, allocations: 4 kB / 0.5852 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.5131, allocations: 92.08 kB / 0.5853 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-06/0.5132, allocations: 0 / 0.5853 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.5132, allocations: 27.09 kB / 0.5853 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.5133, allocations: 37 kB / 0.5854 GB, free: 2.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5133, allocations: 0 / 0.5854 GB, free: 2.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5133, allocations: 8.438 kB / 0.5854 GB, free: 2.773 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.5133, allocations: 1.062 kB / 0.5854 GB, free: 2.773 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.0002163/0.5136, allocations: 322.7 kB / 0.5857 GB, free: 2.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5136, allocations: 12.69 kB / 0.5857 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.5136, allocations: 1.469 kB / 0.5857 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.805e-05/0.5137, allocations: 164.5 kB / 0.5858 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.5137, allocations: 0 / 0.5858 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.5137, allocations: 0.7812 kB / 0.5858 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.128e-05/0.5138, allocations: 29.02 kB / 0.5859 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5138, allocations: 7.938 kB / 0.5859 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.5138, allocations: 0 / 0.5859 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.5139, allocations: 1.828 kB / 0.5859 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.811e-05/0.5139, allocations: 1.344 kB / 0.5859 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.514, allocations: 155.7 kB / 0.586 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.492e-05/0.514, allocations: 17.39 kB / 0.5861 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.307e-05/0.5141, allocations: 6.172 kB / 0.5861 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004031/0.5145, allocations: 0.5604 MB / 0.5866 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.5145, allocations: 36.34 kB / 0.5866 GB, free: 1.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.5145, allocations: 0.6562 kB / 0.5866 GB, free: 1.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001176/0.5146, allocations: 36.19 kB / 0.5867 GB, free: 1.207 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.5147, allocations: 51.41 kB / 0.5867 GB, free: 1.145 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.82e-05/0.5147, allocations: 91.58 kB / 0.5868 GB, free: 1.047 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.5147, allocations: 25.7 kB / 0.5868 GB, free: 1.016 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.212e-05/0.5147, allocations: 80.14 kB / 0.5869 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.5147, allocations: 9.188 kB / 0.5869 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/0.5148, allocations: 4.125 kB / 0.5869 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.5148, allocations: 316.5 kB / 0.5872 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.5148, allocations: 1.719 kB / 0.5872 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.5148, allocations: 1.219 kB / 0.5872 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.529e-05/0.5149, allocations: 1.375 kB / 0.5872 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5149, allocations: 0.6562 kB / 0.5872 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.38e-05/0.5149, allocations: 36.95 kB / 0.5873 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5149, allocations: 5.375 kB / 0.5873 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5149, allocations: 4.094 kB / 0.5873 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.515, allocations: 4.688 kB / 0.5873 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.842e-05/0.515, allocations: 2.312 kB / 0.5873 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.515, allocations: 0 / 0.5873 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.172e-05/0.515, allocations: 1.875 kB / 0.5873 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.515, allocations: 0 / 0.5873 GB, free: 0.5625 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.5151, allocations: 117.5 kB / 0.5874 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/0.5151, allocations: 1.5 kB / 0.5874 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.262e-05/0.5152, allocations: 43.98 kB / 0.5874 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5152, allocations: 7.922 kB / 0.5874 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5152, allocations: 2.391 kB / 0.5874 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.5152, allocations: 0 / 0.5874 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.169e-05/0.5153, allocations: 147.9 kB / 0.5876 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5153, allocations: 0.7031 kB / 0.5876 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.5153, allocations: 2.5 kB / 0.5876 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.5153, allocations: 0.7031 kB / 0.5876 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.5153, allocations: 1 kB / 0.5876 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5153, allocations: 32 / 0.5876 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5153, allocations: 5.531 kB / 0.5876 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.415e-05/0.5154, allocations: 57.52 kB / 0.5877 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.5154, allocations: 81.86 kB / 0.5877 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.5154, allocations: 1.625 kB / 0.5877 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-06/0.5154, allocations: 0.7031 kB / 0.5877 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.5155, allocations: 0.9375 kB / 0.5877 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.5155, allocations: 7.938 kB / 0.5877 GB, free: 24 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.777e-05/0.5155, allocations: 80.91 kB / 0.5878 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5155, allocations: 0 / 0.5878 GB, free: 15.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001839/0.5157, allocations: 13.06 kB / 0.5878 GB, free: 15.94 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 (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.0001736/0.5159, allocations: 102.3 kB / 0.5879 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.272e-05/0.516, allocations: 4.406 kB / 0.5879 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.516, allocations: 0 / 0.5879 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.624e-06/0.516, allocations: 2.641 kB / 0.5879 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.5161, allocations: 10 kB / 0.5879 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.5163, allocations: 99.67 kB / 0.588 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.5166, allocations: 0.6753 MB / 0.5887 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.5167, allocations: 8.469 kB / 0.5887 GB, free: 15.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5167, allocations: 0 / 0.5887 GB, free: 15.02 MB / 446.1 MB Notification: Performance of Templates: time 0.001895/0.5186, allocations: 441.1 kB / 0.5891 GB, free: 14.98 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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