Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_latest_Buildings.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.0009679/0.0009681, allocations: 102.5 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.001666/0.001665, allocations: 178.6 kB / 16.58 MB, free: 6.859 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.447/1.447, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.647/2.647, allocations: 436.7 MB / 0.7113 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004874, allocations: 12 kB / 0.8717 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7805/0.781, allocations: 153.7 MB / 1.022 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007391/0.7818, allocations: 349.3 kB / 1.022 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.7837, allocations: 1.229 MB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.7838, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.7838, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.75e-05/0.7838, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.7842, allocations: 59.8 kB / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.038e-05/0.7842, allocations: 19.98 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.7843, allocations: 0 / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.663e-05/0.7843, allocations: 7.984 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.585e-05/0.7844, allocations: 19.91 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.7844, allocations: 8 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.7847, allocations: 91.91 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.7847, allocations: 7.922 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.7847, allocations: 29.7 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.7848, allocations: 47.92 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.006e-06/0.7849, allocations: 4 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7849, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.7849, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.7794 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.0004694/0.7853, allocations: 337.3 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.7854, allocations: 19.98 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.7854, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.7856, allocations: 163.1 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.7856, allocations: 8 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.7856, allocations: 4 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.7858, allocations: 53.58 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.7858, allocations: 4 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.7858, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.7858, allocations: 3.984 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.7859, allocations: 31.91 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.7861, allocations: 169.5 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.7862, allocations: 58.56 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.7863, allocations: 32.78 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000508/0.7868, allocations: 0.5622 MB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.7868, allocations: 34.52 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.7868, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 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.01714/0.804, allocations: 4.273 MB / 1.029 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.804, allocations: 55.41 kB / 1.029 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/0.8041, allocations: 97.84 kB / 1.029 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.8042, allocations: 25.7 kB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.8042, allocations: 88.14 kB / 1.029 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.8043, allocations: 55.16 kB / 1.029 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.8044, allocations: 0 / 1.029 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.8046, allocations: 326.8 kB / 1.03 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005257/0.8051, allocations: 303.9 kB / 1.03 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.8057, allocations: 311.9 kB / 1.03 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007757/0.8064, allocations: 394.1 kB / 1.031 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8064, allocations: 0 / 1.031 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001562/0.808, allocations: 0.798 MB / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.808, allocations: 8 kB / 1.032 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.8081, allocations: 3.938 kB / 1.032 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.8081, allocations: 3.938 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/0.8088, allocations: 91.94 kB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8088, allocations: 0 / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.8092, allocations: 12 kB / 1.032 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.951e-05/0.8093, allocations: 31.98 kB / 1.032 GB, free: 6.383 MB / 0.7794 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.0002047/0.8095, allocations: 133.7 kB / 1.032 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.8096, allocations: 0 / 1.032 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/0.8131, allocations: 1.399 MB / 1.033 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.8131, allocations: 4 kB / 1.033 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.8132, allocations: 0 / 1.033 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.8132, allocations: 3.984 kB / 1.033 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.816, allocations: 1.813 MB / 1.035 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.8161, allocations: 4 kB / 1.035 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006841/0.8167, allocations: 111.8 kB / 1.035 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.8168, allocations: 0 / 1.035 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-05/0.8168, allocations: 28 kB / 1.035 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.8168, allocations: 0 / 1.035 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8169, allocations: 0 / 1.035 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.8192, allocations: 1.477 MB / 1.037 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.8193, allocations: 88.95 kB / 1.037 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.8194, allocations: 8 kB / 1.037 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.8198, allocations: 8 kB / 1.037 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.8199, allocations: 47.95 kB / 1.037 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.368e-05/0.82, allocations: 31.95 kB / 1.037 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.82, allocations: 83.34 kB / 1.037 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.523e-06/0.82, allocations: 0 / 1.037 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006162/0.8207, allocations: 179.9 kB / 1.037 GB, free: 0.8594 MB / 0.7794 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.0005266/0.8212, allocations: 223.1 kB / 1.037 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.8225, allocations: 0.7229 MB / 1.038 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8225, allocations: 0 / 1.038 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007466/0.8233, allocations: 451.7 kB / 1.038 GB, free: 15.47 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.8236, allocations: 16.16 kB / 1.038 GB, free: 15.45 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.8266, allocations: 0.8831 MB / 1.039 GB, free: 14.54 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.8269, allocations: 0.7184 MB / 1.04 GB, free: 13.79 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.8275, allocations: 95.41 kB / 1.04 GB, free: 13.7 MB / 0.795 GB Notification: Performance of SimCode: time 8.62e-07/0.8275, allocations: 3.938 kB / 1.04 GB, free: 13.7 MB / 0.795 GB Notification: Performance of Templates: time 0.01158/0.8391, allocations: 6.867 MB / 1.047 GB, free: 6.891 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile make -j1 -f Buildings_latest_Buildings.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 OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.o] Error 1