Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008636/0.0008636, allocations: 99.34 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.001296/0.001296, allocations: 184.3 kB / 16.92 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.852/1.852, allocations: 292.7 MB / 0.5509 GB, free: 14.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006581/0.0006579, allocations: 15.16 kB / 0.675 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3248, allocations: 116.3 MB / 0.7885 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0009211/0.3258, allocations: 327.5 kB / 0.7889 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002078/0.3279, allocations: 1.266 MB / 0.7901 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.111e-05/0.3279, allocations: 0 / 0.7901 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.3279, allocations: 0 / 0.7901 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.548e-06/0.328, allocations: 0 / 0.7901 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.3284, allocations: 55.81 kB / 0.7901 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.413e-05/0.3284, allocations: 4 kB / 0.7902 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.3285, allocations: 0 / 0.7902 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.778e-05/0.3285, allocations: 4 kB / 0.7902 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.3286, allocations: 0 / 0.7902 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.3286, allocations: 4 kB / 0.7902 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.3289, allocations: 95.83 kB / 0.7903 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.3289, allocations: 0 / 0.7903 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.3289, allocations: 29.64 kB / 0.7903 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.329, allocations: 35.95 kB / 0.7903 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3291, allocations: 0 / 0.7903 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3291, allocations: 4 kB / 0.7903 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3291, allocations: 4 kB / 0.7903 GB, free: 9.773 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003698/0.3294, allocations: 319.6 kB / 0.7906 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3295, allocations: 8.031 kB / 0.7906 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.3295, allocations: 0.9375 kB / 0.7906 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.3297, allocations: 164.4 kB / 0.7908 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3297, allocations: 384 / 0.7908 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.3297, allocations: 384 / 0.7908 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.3299, allocations: 42.02 kB / 0.7908 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3299, allocations: 0 / 0.7908 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3299, allocations: 3.938 kB / 0.7908 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3299, allocations: 0 / 0.7908 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.943e-05/0.3299, allocations: 11.92 kB / 0.7908 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.3301, allocations: 141.7 kB / 0.791 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.671e-05/0.3302, allocations: 14.58 kB / 0.791 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.3302, allocations: 12.95 kB / 0.791 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006926/0.3309, allocations: 0.5622 MB / 0.7916 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3309, allocations: 34.5 kB / 0.7916 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.331, allocations: 0 / 0.7916 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000171/0.3311, allocations: 37.64 kB / 0.7916 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.3312, allocations: 55.41 kB / 0.7917 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.252e-05/0.3312, allocations: 89.98 kB / 0.7918 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3313, allocations: 29.7 kB / 0.7918 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.3313, allocations: 80.14 kB / 0.7919 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.3313, allocations: 3.906 kB / 0.7919 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.3314, allocations: 9.719 kB / 0.7919 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3315, allocations: 314.8 kB / 0.7922 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-06/0.3315, allocations: 0 / 0.7922 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-06/0.3315, allocations: 4 kB / 0.7922 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.3316, allocations: 16.92 kB / 0.7922 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3316, allocations: 0 / 0.7922 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.406e-05/0.3317, allocations: 33.64 kB / 0.7922 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3317, allocations: 7.938 kB / 0.7922 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3317, allocations: 0 / 0.7922 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3317, allocations: 0 / 0.7922 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.3318, allocations: 8 kB / 0.7923 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3318, allocations: 0 / 0.7923 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.3318, allocations: 3.984 kB / 0.7923 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.3318, allocations: 0 / 0.7923 GB, free: 7.441 MB / 0.6075 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 (1): * Single equations (assignments): 1 * 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.000126/0.332, allocations: 118.5 kB / 0.7924 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-06/0.332, allocations: 3.938 kB / 0.7924 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.3321, allocations: 40.77 kB / 0.7924 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3321, allocations: 0 / 0.7924 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3321, allocations: 3.984 kB / 0.7924 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3321, allocations: 4 kB / 0.7924 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.3323, allocations: 142 kB / 0.7926 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3323, allocations: 7.969 kB / 0.7926 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.3323, allocations: 0 / 0.7926 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.3323, allocations: 3.938 kB / 0.7926 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3324, allocations: 4 kB / 0.7926 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3324, allocations: 0 / 0.7926 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3324, allocations: 0 / 0.7926 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.601e-05/0.3325, allocations: 57.12 kB / 0.7926 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.3326, allocations: 81.11 kB / 0.7927 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.3326, allocations: 7.969 kB / 0.7927 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-06/0.3326, allocations: 0 / 0.7927 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.3327, allocations: 3.938 kB / 0.7927 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.3327, allocations: 0 / 0.7927 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.3327, allocations: 75.28 kB / 0.7928 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3327, allocations: 0 / 0.7928 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002102/0.3329, allocations: 15.98 kB / 0.7928 GB, free: 6.777 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0002628/0.3332, allocations: 107.2 kB / 0.7929 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.828e-05/0.3333, allocations: 8 kB / 0.7929 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.3333, allocations: 4 kB / 0.7929 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.834e-06/0.3333, allocations: 4 kB / 0.7929 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.3334, allocations: 0 / 0.7929 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002153/0.3336, allocations: 100.5 kB / 0.793 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.3339, allocations: 0.677 MB / 0.7937 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.334, allocations: 7.438 kB / 0.7937 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of SimCode: time 2.535e-06/0.334, allocations: 0 / 0.7937 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of Templates: time 0.001718/0.3357, allocations: 431.7 kB / 0.7941 GB, free: 5.383 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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 OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.o] Error 1