Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0008284/0.0008283, allocations: 102.7 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.0009087/0.0009087, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.509/1.509, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.067/1.067, allocations: 143.4 MB / 435.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 8 kB / 0.5166 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2201, allocations: 83.42 MB / 0.5981 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007463/0.2209, allocations: 335 kB / 0.5984 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2224, allocations: 1.237 MB / 0.5996 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.2224, allocations: 0 / 0.5996 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.2224, allocations: 0 / 0.5996 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.713e-05/0.2225, allocations: 3.938 kB / 0.5996 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.2228, allocations: 55.88 kB / 0.5997 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.2228, allocations: 15.98 kB / 0.5997 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.2229, allocations: 0 / 0.5997 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.134e-05/0.2229, allocations: 15.92 kB / 0.5997 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.011e-05/0.223, allocations: 15.98 kB / 0.5997 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.223, allocations: 3.938 kB / 0.5997 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.2232, allocations: 103.8 kB / 0.5998 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.2233, allocations: 7.984 kB / 0.5998 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.2233, allocations: 25.7 kB / 0.5998 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.2234, allocations: 43.94 kB / 0.5999 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.2234, allocations: 4 kB / 0.5999 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2234, allocations: 0 / 0.5999 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.2234, allocations: 0 / 0.5999 GB, free: 5.906 MB / 0.4981 GB 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.0004338/0.2239, allocations: 339.7 kB / 0.6002 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2239, allocations: 8.031 kB / 0.6002 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.224, allocations: 7.906 kB / 0.6002 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.2241, allocations: 178.9 kB / 0.6004 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2241, allocations: 4 kB / 0.6004 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.2241, allocations: 4 kB / 0.6004 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.2243, allocations: 49.69 kB / 0.6005 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2243, allocations: 0 / 0.6005 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.2243, allocations: 7.938 kB / 0.6005 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2243, allocations: 4 kB / 0.6005 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.677e-05/0.2244, allocations: 23.97 kB / 0.6005 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.2246, allocations: 165.6 kB / 0.6006 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.2247, allocations: 58.5 kB / 0.6007 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.313e-05/0.2248, allocations: 32.84 kB / 0.6007 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005127/0.2253, allocations: 0.5583 MB / 0.6013 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.2253, allocations: 38.55 kB / 0.6013 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.2254, allocations: 0 / 0.6013 GB, free: 4.152 MB / 0.4981 GB 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.378/0.6033, allocations: 4.275 MB / 0.6055 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.6034, allocations: 58.27 kB / 0.6055 GB, free: 41.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.763e-05/0.6035, allocations: 94.78 kB / 0.6056 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.071e-05/0.6036, allocations: 27.64 kB / 0.6057 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.746e-05/0.6036, allocations: 80.77 kB / 0.6057 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.6037, allocations: 53.97 kB / 0.6058 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/0.6038, allocations: 5.719 kB / 0.6058 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.15e-05/0.6039, allocations: 318.3 kB / 0.6061 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004821/0.6044, allocations: 307.7 kB / 0.6064 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.6048, allocations: 320.4 kB / 0.6067 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007384/0.6056, allocations: 387.3 kB / 0.6071 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6056, allocations: 3.516 kB / 0.6071 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001397/0.607, allocations: 0.794 MB / 0.6078 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.607, allocations: 7.547 kB / 0.6079 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.6071, allocations: 3 kB / 0.6079 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.6071, allocations: 0.6562 kB / 0.6079 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/0.6078, allocations: 93.28 kB / 0.6079 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6078, allocations: 4.719 kB / 0.608 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.6082, allocations: 7.906 kB / 0.608 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.6083, allocations: 36.38 kB / 0.608 GB, free: 40.44 MB / 0.4981 GB 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.0001871/0.6085, allocations: 117.9 kB / 0.6081 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.6086, allocations: 8.188 kB / 0.6081 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003226/0.6118, allocations: 1.409 MB / 0.6095 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.6118, allocations: 2.969 kB / 0.6095 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.6119, allocations: 0 / 0.6095 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.6119, allocations: 5.375 kB / 0.6095 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.6146, allocations: 1.805 MB / 0.6113 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6146, allocations: 0 / 0.6113 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006928/0.6153, allocations: 109.2 kB / 0.6114 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.6153, allocations: 2.781 kB / 0.6114 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.528e-05/0.6154, allocations: 27.97 kB / 0.6114 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.6154, allocations: 2.781 kB / 0.6114 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6154, allocations: 0 / 0.6114 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.6176, allocations: 1.473 MB / 0.6128 GB, free: 39.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.6177, allocations: 95.56 kB / 0.6129 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.792e-05/0.6178, allocations: 6.812 kB / 0.6129 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/0.6182, allocations: 17.09 kB / 0.6129 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.6183, allocations: 35.12 kB / 0.613 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-05/0.6184, allocations: 39.91 kB / 0.613 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.125e-05/0.6184, allocations: 75.28 kB / 0.6131 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6184, allocations: 0 / 0.6131 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005747/0.619, allocations: 175.1 kB / 0.6133 GB, free: 39.37 MB / 0.4981 GB 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.0004696/0.6195, allocations: 233.8 kB / 0.6135 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.6207, allocations: 0.7243 MB / 0.6142 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6207, allocations: 0 / 0.6142 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005711/0.6213, allocations: 450.9 kB / 0.6146 GB, free: 38.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.6216, allocations: 15.09 kB / 0.6146 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.6244, allocations: 0.8787 MB / 0.6155 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.6246, allocations: 0.7208 MB / 0.6162 GB, free: 37.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/0.6251, allocations: 98.42 kB / 0.6163 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.6251, allocations: 0 / 0.6163 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.009841/0.635, allocations: 6.905 MB / 0.623 GB, free: 37.17 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.o] Error 1