Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.02515/0.02515, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.002662/0.002662, allocations: 190.2 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.72/2.72, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003088/0.003088, allocations: 282.3 kB / 290.9 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.965/1.965, allocations: 169.2 MB / 0.4984 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 97.88 kB / 0.5951 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3937, allocations: 86.98 MB / 0.6801 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.007304/0.4011, allocations: 1.549 MB / 0.6816 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.4035, allocations: 0.6536 MB / 0.6822 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.4036, allocations: 4.875 kB / 0.6822 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.796e-05/0.4038, allocations: 3.938 kB / 0.6822 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.4039, allocations: 4.562 kB / 0.6822 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007266/0.4047, allocations: 60.81 kB / 0.6823 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.4049, allocations: 35.86 kB / 0.6823 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.4051, allocations: 21.8 kB / 0.6824 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.4053, allocations: 19.92 kB / 0.6824 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.4055, allocations: 15.92 kB / 0.6824 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.4055, allocations: 4 kB / 0.6824 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.406, allocations: 99.83 kB / 0.6825 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.406, allocations: 4 kB / 0.6825 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.4061, allocations: 19.86 kB / 0.6825 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.4064, allocations: 55.92 kB / 0.6826 GB, free: 14.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.4065, allocations: 0 / 0.6826 GB, free: 14.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.4065, allocations: 0 / 0.6826 GB, free: 14.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.4065, allocations: 0 / 0.6826 GB, free: 14.6 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008166/0.4073, allocations: 363.4 kB / 0.6829 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.327e-05/0.4074, allocations: 8.031 kB / 0.6829 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.4075, allocations: 8.844 kB / 0.6829 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.408, allocations: 176.3 kB / 0.6831 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.4081, allocations: 384 / 0.6831 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.4081, allocations: 384 / 0.6831 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.4083, allocations: 61.98 kB / 0.6832 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4084, allocations: 0 / 0.6832 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.4084, allocations: 0 / 0.6832 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.4084, allocations: 7.938 kB / 0.6832 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.4086, allocations: 31.91 kB / 0.6832 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.4097, allocations: 280.7 kB / 0.6835 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.4101, allocations: 30.52 kB / 0.6835 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.57e-05/0.4102, allocations: 16.91 kB / 0.6835 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.4113, allocations: 0.5583 MB / 0.6841 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.604e-05/0.4113, allocations: 38.55 kB / 0.6841 GB, free: 12.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.4114, allocations: 0 / 0.6841 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004798/0.4119, allocations: 57.69 kB / 0.6841 GB, free: 12.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.412, allocations: 55.53 kB / 0.6842 GB, free: 12.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.4122, allocations: 121.8 kB / 0.6843 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.4123, allocations: 25.7 kB / 0.6843 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.4124, allocations: 92.14 kB / 0.6844 GB, free: 12.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.4125, allocations: 3.906 kB / 0.6844 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/0.4126, allocations: 17.7 kB / 0.6844 GB, free: 12.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003718/0.413, allocations: 322.7 kB / 0.6848 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.413, allocations: 11.98 kB / 0.6848 GB, free: 12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.762e-05/0.4131, allocations: 12 kB / 0.6848 GB, free: 11.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.4133, allocations: 24.84 kB / 0.6848 GB, free: 11.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4133, allocations: 3.938 kB / 0.6848 GB, free: 11.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002351/0.4135, allocations: 61.59 kB / 0.6849 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.4136, allocations: 6.188 kB / 0.6849 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.4136, allocations: 3.984 kB / 0.6849 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.4136, allocations: 96 / 0.6849 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.4138, allocations: 8 kB / 0.6849 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/0.4138, allocations: 3.938 kB / 0.6849 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.4139, allocations: 4 kB / 0.6849 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4139, allocations: 0 / 0.6849 GB, free: 11.87 MB / 494.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 (2): * Single equations (assignments): 2 * 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.0002082/0.4141, allocations: 122.4 kB / 0.685 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.4142, allocations: 0 / 0.685 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.4145, allocations: 73.09 kB / 0.6851 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4145, allocations: 4.031 kB / 0.6851 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.4145, allocations: 0 / 0.6851 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.4145, allocations: 3.938 kB / 0.6851 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.4149, allocations: 165.6 kB / 0.6852 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4149, allocations: 0 / 0.6852 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.4149, allocations: 4 kB / 0.6852 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4149, allocations: 0 / 0.6852 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.415, allocations: 0 / 0.6852 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.415, allocations: 4 kB / 0.6852 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/0.415, allocations: 7.922 kB / 0.6853 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.4153, allocations: 151.5 kB / 0.6854 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.4154, allocations: 85.02 kB / 0.6855 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.4155, allocations: 0 / 0.6855 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.4156, allocations: 3.984 kB / 0.6855 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.4157, allocations: 4 kB / 0.6855 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.4157, allocations: 0 / 0.6855 GB, free: 11.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002162/0.4159, allocations: 99.3 kB / 0.6856 GB, free: 11.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4159, allocations: 0 / 0.6856 GB, free: 11.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004133/0.4163, allocations: 15.94 kB / 0.6856 GB, free: 11.04 MB / 494.1 MB 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 (2): * Single equations (assignments): 2 * 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.0002761/0.4166, allocations: 107.2 kB / 0.6857 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.417, allocations: 27.92 kB / 0.6857 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.417, allocations: 0 / 0.6857 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.4171, allocations: 12 kB / 0.6857 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.4175, allocations: 8.062 kB / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/0.4182, allocations: 178.1 kB / 0.6859 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009225/0.4191, allocations: 0.6809 MB / 0.6866 GB, free: 9.973 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.4192, allocations: 11.44 kB / 0.6866 GB, free: 9.961 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4192, allocations: 0 / 0.6866 GB, free: 9.961 MB / 494.1 MB Notification: Performance of Templates: time 0.003835/0.423, allocations: 0.7172 MB / 0.6873 GB, free: 9.246 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SpliceCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SpliceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SpliceCalcHelperMain.o] Error 1