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.0007301/0.0007304, allocations: 99.03 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.0007606/0.0007607, allocations: 181.6 kB / 16.92 MB, free: 6.891 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.269/1.269, 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.7106/0.7106, allocations: 132.3 MB / 424.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 12.88 kB / 0.5046 GB, free: 3.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4387, allocations: 81.57 MB / 0.5843 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0008205/0.4396, allocations: 350.8 kB / 0.5846 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.4415, allocations: 1.273 MB / 0.5859 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.4415, allocations: 0 / 0.5859 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.4415, allocations: 0 / 0.5859 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.066e-05/0.4416, allocations: 0 / 0.5859 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.442, allocations: 55.78 kB / 0.5859 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.025e-05/0.4421, allocations: 19.08 kB / 0.5859 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.4421, allocations: 6.547 kB / 0.586 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.359e-05/0.4422, allocations: 19.23 kB / 0.586 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.446e-05/0.4422, allocations: 12.05 kB / 0.586 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.4423, allocations: 6.438 kB / 0.586 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.4425, allocations: 94.09 kB / 0.5861 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.4426, allocations: 2.297 kB / 0.5861 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.47e-05/0.4426, allocations: 38.98 kB / 0.5861 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.4428, allocations: 43.59 kB / 0.5862 GB, free: 2.793 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4428, allocations: 0 / 0.5862 GB, free: 2.793 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4428, allocations: 1.375 kB / 0.5862 GB, free: 2.793 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.4428, allocations: 4 kB / 0.5862 GB, free: 2.789 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.0003883/0.4432, allocations: 342.6 kB / 0.5865 GB, free: 2.426 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4432, allocations: 10.25 kB / 0.5865 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.4433, allocations: 2.672 kB / 0.5865 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.618e-05/0.4434, allocations: 168.6 kB / 0.5867 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.4434, allocations: 2.719 kB / 0.5867 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.4434, allocations: 6.75 kB / 0.5867 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.4436, allocations: 56.38 kB / 0.5867 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4436, allocations: 0.75 kB / 0.5867 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.4436, allocations: 4.906 kB / 0.5867 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4436, allocations: 1.469 kB / 0.5867 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.554e-05/0.4437, allocations: 26.45 kB / 0.5868 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.4439, allocations: 170.8 kB / 0.5869 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.444, allocations: 60.69 kB / 0.587 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.4441, allocations: 23.89 kB / 0.587 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004081/0.4445, allocations: 0.5609 MB / 0.5875 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.4445, allocations: 40.17 kB / 0.5876 GB, free: 1.203 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4445, allocations: 0 / 0.5876 GB, free: 1.203 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.02016/0.4647, allocations: 4.209 MB / 0.5917 GB, free: 15.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.4648, allocations: 54.12 kB / 0.5917 GB, free: 15.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.695e-05/0.4649, allocations: 91.72 kB / 0.5918 GB, free: 15.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.124e-05/0.465, allocations: 31.12 kB / 0.5919 GB, free: 15.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.465, allocations: 80.83 kB / 0.5919 GB, free: 15.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.4651, allocations: 59.3 kB / 0.592 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.4652, allocations: 19.41 kB / 0.592 GB, free: 15.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.4654, allocations: 323.4 kB / 0.5923 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005835/0.466, allocations: 311.3 kB / 0.5926 GB, free: 14.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005794/0.4665, allocations: 308.2 kB / 0.5929 GB, free: 14.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.4682, allocations: 0.758 MB / 0.5937 GB, free: 14.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4682, allocations: 0 / 0.5937 GB, free: 14.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00174/0.4699, allocations: 0.7901 MB / 0.5944 GB, free: 13.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.47, allocations: 7.766 kB / 0.5944 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.47, allocations: 0 / 0.5944 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.47, allocations: 1.219 kB / 0.5944 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008642/0.4709, allocations: 103.1 kB / 0.5945 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4709, allocations: 1.703 kB / 0.5945 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.4715, allocations: 13.34 kB / 0.5945 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.282e-05/0.4716, allocations: 34.3 kB / 0.5946 GB, free: 13.83 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.4718, allocations: 123.4 kB / 0.5947 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/0.4719, allocations: 2.906 kB / 0.5947 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003655/0.4756, allocations: 1.397 MB / 0.5961 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.4756, allocations: 4.531 kB / 0.5961 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4756, allocations: 4 kB / 0.5961 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.4756, allocations: 2.484 kB / 0.5961 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003121/0.4787, allocations: 1.797 MB / 0.5978 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.4787, allocations: 1.438 kB / 0.5978 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007985/0.4795, allocations: 109.2 kB / 0.5979 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.4796, allocations: 2.25 kB / 0.5979 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.867e-05/0.4797, allocations: 39.16 kB / 0.598 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.4797, allocations: 2.109 kB / 0.598 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4797, allocations: 0 / 0.598 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.4822, allocations: 1.46 MB / 0.5994 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.4823, allocations: 90.31 kB / 0.5995 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-05/0.4824, allocations: 14.62 kB / 0.5995 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005353/0.4829, allocations: 11.7 kB / 0.5995 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.4831, allocations: 46.2 kB / 0.5996 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/0.4832, allocations: 27.97 kB / 0.5996 GB, free: 11.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.909e-05/0.4832, allocations: 77.33 kB / 0.5997 GB, free: 11.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4832, allocations: 0 / 0.5997 GB, free: 11.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006927/0.4839, allocations: 169.9 kB / 0.5998 GB, free: 11.01 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 (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.00063/0.4846, allocations: 215.9 kB / 0.6 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.486, allocations: 0.7265 MB / 0.6007 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.486, allocations: 0 / 0.6007 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007089/0.4867, allocations: 450.4 kB / 0.6012 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.487, allocations: 17.16 kB / 0.6012 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.4906, allocations: 0.8887 MB / 0.6021 GB, free: 9.938 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.4909, allocations: 0.7159 MB / 0.6028 GB, free: 9.242 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005809/0.4915, allocations: 90.88 kB / 0.6028 GB, free: 9.234 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4915, allocations: 0 / 0.6028 GB, free: 9.234 MB / 446.1 MB Notification: Performance of Templates: time 0.06868/0.5602, allocations: 6.842 MB / 0.6095 GB, free: 5.812 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++ -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.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