Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001141/0.001141, allocations: 91.22 kB / 16.33 MB, free: 6.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 192 kB / 17.23 MB, free: 6.695 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 / 241.2 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6888/0.6888, allocations: 114.3 MB / 406.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 16.5 kB / 494.5 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1901, allocations: 77.26 MB / 0.5583 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0008688/0.191, allocations: 323 kB / 0.5586 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.193, allocations: 1.235 MB / 0.5599 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.193, allocations: 0 / 0.5599 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.1931, allocations: 0 / 0.5599 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.708e-05/0.1931, allocations: 0 / 0.5599 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.1934, allocations: 59.81 kB / 0.5599 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.3e-05/0.1935, allocations: 19.92 kB / 0.5599 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.1936, allocations: 0 / 0.5599 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.616e-05/0.1936, allocations: 15.98 kB / 0.5599 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.04e-05/0.1937, allocations: 15.91 kB / 0.56 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1937, allocations: 0 / 0.56 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.1939, allocations: 99.91 kB / 0.5601 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.1939, allocations: 11.97 kB / 0.5601 GB, free: 9.152 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.194, allocations: 37.58 kB / 0.5601 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.1942, allocations: 43.94 kB / 0.5601 GB, free: 9.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1942, allocations: 0 / 0.5601 GB, free: 9.066 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1942, allocations: 0 / 0.5601 GB, free: 9.066 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1942, allocations: 4 kB / 0.5601 GB, free: 9.062 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.0004143/0.1946, allocations: 331.7 kB / 0.5605 GB, free: 8.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1946, allocations: 12.03 kB / 0.5605 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.1947, allocations: 11.91 kB / 0.5605 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.1948, allocations: 167 kB / 0.5606 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1948, allocations: 0 / 0.5606 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.1949, allocations: 4 kB / 0.5606 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.195, allocations: 49.69 kB / 0.5607 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.195, allocations: 3.953 kB / 0.5607 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.195, allocations: 0 / 0.5607 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.1951, allocations: 0 / 0.5607 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.67e-05/0.1951, allocations: 31.91 kB / 0.5607 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.1954, allocations: 165.7 kB / 0.5609 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.1955, allocations: 54.56 kB / 0.5609 GB, free: 8.098 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.1956, allocations: 32.84 kB / 0.561 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006354/0.1962, allocations: 0.5583 MB / 0.5615 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.1963, allocations: 34.56 kB / 0.5615 GB, free: 7.332 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 3.096e-06/0.1963, allocations: 0 / 0.5615 GB, free: 7.332 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.01863/0.2149, allocations: 4.288 MB / 0.5657 GB, free: 2.906 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.215, allocations: 55.39 kB / 0.5658 GB, free: 2.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.154e-05/0.2151, allocations: 93.86 kB / 0.5659 GB, free: 2.738 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-05/0.2152, allocations: 37.64 kB / 0.5659 GB, free: 2.695 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.2152, allocations: 80.14 kB / 0.566 GB, free: 2.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.2154, allocations: 55.19 kB / 0.566 GB, free: 2.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.164e-05/0.2155, allocations: 4 kB / 0.566 GB, free: 2.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2156, allocations: 318.8 kB / 0.5664 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.2162, allocations: 307.9 kB / 0.5666 GB, free: 1.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/0.2167, allocations: 311.8 kB / 0.5669 GB, free: 1.629 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/0.2175, allocations: 393.8 kB / 0.5673 GB, free: 1.246 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2175, allocations: 0 / 0.5673 GB, free: 1.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001646/0.2191, allocations: 0.7981 MB / 0.5681 GB, free: 452 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2192, allocations: 4 kB / 0.5681 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2192, allocations: 0 / 0.5681 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2192, allocations: 0 / 0.5681 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.2199, allocations: 99.88 kB / 0.5682 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.22, allocations: 4 kB / 0.5682 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.2203, allocations: 4 kB / 0.5682 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.2205, allocations: 35.97 kB / 0.5682 GB, free: 304 kB / 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 (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.0002039/0.2207, allocations: 133.2 kB / 0.5684 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.2208, allocations: 11.86 kB / 0.5684 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/0.2247, allocations: 1.392 MB / 0.5697 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.2247, allocations: 4 kB / 0.5697 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2247, allocations: 0 / 0.5697 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.2247, allocations: 3.984 kB / 0.5697 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/0.228, allocations: 1.821 MB / 0.5715 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.228, allocations: 0 / 0.5715 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006865/0.2287, allocations: 107.9 kB / 0.5716 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.2287, allocations: 7.938 kB / 0.5716 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.982e-05/0.2288, allocations: 24 kB / 0.5717 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.2288, allocations: 0 / 0.5717 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.2288, allocations: 8 kB / 0.5717 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.2312, allocations: 1.47 MB / 0.5731 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.2313, allocations: 92.89 kB / 0.5732 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.755e-05/0.2314, allocations: 8 kB / 0.5732 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.2318, allocations: 8 kB / 0.5732 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.232, allocations: 47.95 kB / 0.5732 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/0.232, allocations: 28 kB / 0.5733 GB, free: 11.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.189e-05/0.2321, allocations: 83.34 kB / 0.5734 GB, free: 10.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2321, allocations: 0 / 0.5734 GB, free: 10.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006158/0.2327, allocations: 176 kB / 0.5735 GB, free: 10.78 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.0005966/0.2333, allocations: 226.8 kB / 0.5737 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.2346, allocations: 0.7284 MB / 0.5744 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2346, allocations: 0 / 0.5744 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000682/0.2353, allocations: 451.7 kB / 0.5749 GB, free: 9.379 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.2356, allocations: 16.16 kB / 0.5749 GB, free: 9.363 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.2387, allocations: 0.8821 MB / 0.5758 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/0.2393, allocations: 0.7223 MB / 0.5765 GB, free: 7.695 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/0.2399, allocations: 95.41 kB / 0.5766 GB, free: 7.605 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2399, allocations: 3.938 kB / 0.5766 GB, free: 7.602 MB / 446.1 MB Notification: Performance of Templates: time 0.01132/0.2512, allocations: 6.855 MB / 0.5833 GB, free: 0.8125 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile make -j1 -f IBPSA_latest_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 OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.o] Error 1