Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 102.6 kB / 15.71 MB, free: 460 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.001306/0.001307, allocations: 170.7 kB / 16.58 MB, free: 6.398 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.504/1.504, allocations: 223.2 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7506/0.7506, allocations: 132.3 MB / 424 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003677, allocations: 13.75 kB / 0.504 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.5055, allocations: 81.58 MB / 0.5837 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007056/0.5062, allocations: 340.6 kB / 0.584 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.5076, allocations: 1.223 MB / 0.5852 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.753e-05/0.5077, allocations: 2.344 kB / 0.5852 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.029e-05/0.5077, allocations: 0 / 0.5852 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.558e-05/0.5077, allocations: 0 / 0.5852 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.508, allocations: 56.88 kB / 0.5853 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.902e-05/0.5081, allocations: 16.38 kB / 0.5853 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.5082, allocations: 10.27 kB / 0.5853 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.536e-05/0.5082, allocations: 11.06 kB / 0.5853 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.5083, allocations: 16.7 kB / 0.5853 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.5083, allocations: 1.938 kB / 0.5853 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.5085, allocations: 93.25 kB / 0.5854 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.5085, allocations: 7.016 kB / 0.5854 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.5086, allocations: 32.55 kB / 0.5854 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.5087, allocations: 50.56 kB / 0.5855 GB, free: 2.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.5087, allocations: 0 / 0.5855 GB, free: 2.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5087, allocations: 0 / 0.5855 GB, free: 2.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.5087, allocations: 4.969 kB / 0.5855 GB, free: 2.727 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003511/0.5091, allocations: 334.2 kB / 0.5858 GB, free: 2.371 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.5091, allocations: 9.719 kB / 0.5858 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.5091, allocations: 1.344 kB / 0.5858 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.272e-05/0.5092, allocations: 167.3 kB / 0.586 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.5093, allocations: 6.062 kB / 0.586 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.5093, allocations: 7.234 kB / 0.586 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.5094, allocations: 51.67 kB / 0.5861 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5094, allocations: 4.719 kB / 0.5861 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.5095, allocations: 0.7812 kB / 0.5861 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.5095, allocations: 1.594 kB / 0.5861 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.5095, allocations: 21.94 kB / 0.5861 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.5097, allocations: 179.4 kB / 0.5863 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.5098, allocations: 60.52 kB / 0.5863 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.5099, allocations: 26.14 kB / 0.5863 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003459/0.5102, allocations: 0.5575 MB / 0.5869 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.5103, allocations: 32.61 kB / 0.5869 GB, free: 1.152 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.5103, allocations: 1.062 kB / 0.5869 GB, free: 1.152 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01758/0.5279, allocations: 4.209 MB / 0.591 GB, free: 15.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.5279, allocations: 56.47 kB / 0.5911 GB, free: 15.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.516e-05/0.528, allocations: 92.75 kB / 0.5912 GB, free: 15.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.5281, allocations: 26.48 kB / 0.5912 GB, free: 15.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.5282, allocations: 84.67 kB / 0.5913 GB, free: 15.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.5283, allocations: 59.5 kB / 0.5913 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.5283, allocations: 4.688 kB / 0.5913 GB, free: 15.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5285, allocations: 318.9 kB / 0.5916 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005957/0.5291, allocations: 311.1 kB / 0.5919 GB, free: 14.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.5297, allocations: 308.7 kB / 0.5922 GB, free: 14.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008163/0.5305, allocations: 381.9 kB / 0.5926 GB, free: 14.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.5305, allocations: 0 / 0.5926 GB, free: 14.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001676/0.5322, allocations: 0.7874 MB / 0.5934 GB, free: 13.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5322, allocations: 5.672 kB / 0.5934 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.5322, allocations: 4.906 kB / 0.5934 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5322, allocations: 4.609 kB / 0.5934 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.533, allocations: 96 kB / 0.5935 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.533, allocations: 0.6094 kB / 0.5935 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.5334, allocations: 14.34 kB / 0.5935 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.719e-05/0.5335, allocations: 33.56 kB / 0.5935 GB, free: 13.97 MB / 446.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 (18): * Single equations (assignments): 18 * 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 0.0001858/0.5337, allocations: 122.5 kB / 0.5936 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.5338, allocations: 7.125 kB / 0.5936 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003555/0.5373, allocations: 1.391 MB / 0.595 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.5374, allocations: 3.531 kB / 0.595 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.5374, allocations: 8.75 kB / 0.595 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.5374, allocations: 3.156 kB / 0.595 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.5404, allocations: 1.797 MB / 0.5968 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5404, allocations: 0 / 0.5968 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007063/0.5411, allocations: 110.1 kB / 0.5969 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.5412, allocations: 2.031 kB / 0.5969 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.166e-05/0.5412, allocations: 30.86 kB / 0.5969 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.5413, allocations: 3.547 kB / 0.5969 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5413, allocations: 0 / 0.5969 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.5437, allocations: 1.448 MB / 0.5983 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.5438, allocations: 103.6 kB / 0.5984 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.948e-05/0.5439, allocations: 6.125 kB / 0.5984 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.5443, allocations: 9.875 kB / 0.5984 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.5444, allocations: 51.64 kB / 0.5985 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.832e-05/0.5445, allocations: 27.55 kB / 0.5985 GB, free: 11.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.541e-05/0.5446, allocations: 85.17 kB / 0.5986 GB, free: 11.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5446, allocations: 0 / 0.5986 GB, free: 11.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006633/0.5452, allocations: 174.4 kB / 0.5988 GB, free: 11.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (40): * Single equations (assignments): 40 * 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.0004976/0.5457, allocations: 215.3 kB / 0.599 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.5471, allocations: 0.7183 MB / 0.5997 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5471, allocations: 4.094 kB / 0.5997 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007029/0.5478, allocations: 453.7 kB / 0.6001 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.5481, allocations: 17.42 kB / 0.6001 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.5511, allocations: 0.8803 MB / 0.601 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.5514, allocations: 0.7162 MB / 0.6017 GB, free: 9.375 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/0.552, allocations: 90.62 kB / 0.6018 GB, free: 9.367 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.552, allocations: 0 / 0.6018 GB, free: 9.367 MB / 446.1 MB Notification: Performance of Templates: time 0.01143/0.5634, allocations: 6.824 MB / 0.6084 GB, free: 6.055 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheckCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.o] Error 1