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.0009445/0.0009445, allocations: 98.88 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.0009971/0.0009971, allocations: 187.4 kB / 16.92 MB, free: 6.77 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.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001668/0.001668, allocations: 270.8 kB / 292.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9167/0.9167, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004104, allocations: 17.78 kB / 0.5993 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1685, allocations: 88.55 MB / 0.6858 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.001591/0.1701, allocations: 1.212 MB / 0.687 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009629/0.1711, allocations: 0.6384 MB / 0.6876 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.1711, allocations: 0 / 0.6876 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.1712, allocations: 6.25 kB / 0.6876 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.672e-05/0.1712, allocations: 3.984 kB / 0.6876 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1715, allocations: 63.81 kB / 0.6876 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.886e-05/0.1716, allocations: 31.92 kB / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.1717, allocations: 15.25 kB / 0.6877 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.1718, allocations: 15.92 kB / 0.6877 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.954e-05/0.1718, allocations: 23.84 kB / 0.6877 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1719, allocations: 0 / 0.6877 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.172, allocations: 99.84 kB / 0.6878 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.1721, allocations: 1.375 kB / 0.6878 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.1721, allocations: 49.55 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.1722, allocations: 51.92 kB / 0.6879 GB, free: 12.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1722, allocations: 0.5312 kB / 0.6879 GB, free: 12.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1722, allocations: 0 / 0.6879 GB, free: 12.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1723, allocations: 2.281 kB / 0.6879 GB, free: 12.84 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.0003927/0.1727, allocations: 357.3 kB / 0.6883 GB, free: 12.44 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1727, allocations: 12.03 kB / 0.6883 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.1727, allocations: 8.844 kB / 0.6883 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1729, allocations: 172.8 kB / 0.6885 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1729, allocations: 5 kB / 0.6885 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.1729, allocations: 4.375 kB / 0.6885 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.173, allocations: 58.09 kB / 0.6885 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1731, allocations: 4 kB / 0.6885 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1731, allocations: 0 / 0.6885 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1731, allocations: 0 / 0.6885 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.486e-05/0.1732, allocations: 35.91 kB / 0.6886 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.1735, allocations: 277.2 kB / 0.6888 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.925e-05/0.1736, allocations: 32.08 kB / 0.6889 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.343e-05/0.1737, allocations: 25.72 kB / 0.6889 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004381/0.1742, allocations: 0.5558 MB / 0.6894 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.1742, allocations: 40.45 kB / 0.6895 GB, free: 10.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1742, allocations: 0 / 0.6895 GB, free: 10.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000247/0.1745, allocations: 74.09 kB / 0.6895 GB, free: 10.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.1745, allocations: 55.34 kB / 0.6896 GB, free: 10.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.147e-05/0.1746, allocations: 121.8 kB / 0.6897 GB, free: 10.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1746, allocations: 25.7 kB / 0.6897 GB, free: 10.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.1747, allocations: 92.22 kB / 0.6898 GB, free: 10.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.1747, allocations: 7.891 kB / 0.6898 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.1747, allocations: 9.719 kB / 0.6898 GB, free: 10.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1748, allocations: 322.9 kB / 0.6901 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.1749, allocations: 15.94 kB / 0.6901 GB, free: 10.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/0.1749, allocations: 15.98 kB / 0.6902 GB, free: 10.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.053e-05/0.175, allocations: 28.84 kB / 0.6902 GB, free: 10.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.175, allocations: 0 / 0.6902 GB, free: 10.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001198/0.1752, allocations: 61.75 kB / 0.6902 GB, free: 10.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1752, allocations: 4 kB / 0.6903 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1752, allocations: 0 / 0.6903 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1752, allocations: 0 / 0.6903 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.1753, allocations: 11.98 kB / 0.6903 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1753, allocations: 3.984 kB / 0.6903 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.49e-05/0.1753, allocations: 3.906 kB / 0.6903 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1753, allocations: 7.969 kB / 0.6903 GB, free: 10.09 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 7.555e-05/0.1754, allocations: 118.4 kB / 0.6904 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.1755, allocations: 7.984 kB / 0.6904 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.1756, allocations: 61.2 kB / 0.6905 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1756, allocations: 0 / 0.6905 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1756, allocations: 0 / 0.6905 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1756, allocations: 0 / 0.6905 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.1758, allocations: 177.6 kB / 0.6906 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1758, allocations: 0 / 0.6906 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.1759, allocations: 11.94 kB / 0.6906 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1759, allocations: 0 / 0.6906 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.1759, allocations: 0 / 0.6906 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1759, allocations: 0 / 0.6906 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1759, allocations: 0 / 0.6906 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.1761, allocations: 171.3 kB / 0.6908 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.1761, allocations: 81.05 kB / 0.6909 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1761, allocations: 0 / 0.6909 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.1762, allocations: 4 kB / 0.6909 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.1762, allocations: 3.984 kB / 0.6909 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.1762, allocations: 8 kB / 0.6909 GB, free: 9.355 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.1763, allocations: 95.27 kB / 0.691 GB, free: 9.262 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1763, allocations: 0 / 0.691 GB, free: 9.262 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.1765, allocations: 19.97 kB / 0.691 GB, free: 9.242 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.0001515/0.1767, allocations: 103.2 kB / 0.6911 GB, free: 9.133 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.1768, allocations: 27.92 kB / 0.6911 GB, free: 9.105 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1768, allocations: 0 / 0.6911 GB, free: 9.105 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/0.1769, allocations: 24.05 kB / 0.6912 GB, free: 9.082 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.1771, allocations: 6.188 kB / 0.6912 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.1774, allocations: 178.2 kB / 0.6913 GB, free: 8.875 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.1777, allocations: 0.6809 MB / 0.692 GB, free: 8.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.1777, allocations: 11.44 kB / 0.692 GB, free: 8.156 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1777, allocations: 4.062 kB / 0.692 GB, free: 8.152 MB / 494.1 MB Notification: Performance of Templates: time 0.001991/0.1797, allocations: 0.7054 MB / 0.6927 GB, free: 7.449 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