Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 92.55 kB / 16.02 MB, free: 80 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.001232/0.001232, allocations: 184.6 kB / 16.92 MB, free: 6.922 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.372/1.372, allocations: 223.2 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002308/0.002308, allocations: 274.3 kB / 292.3 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9716/0.9716, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004442, allocations: 19.09 kB / 0.5993 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1916, allocations: 88.55 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001676/0.1933, allocations: 1.138 MB / 0.6869 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1947, allocations: 0.7924 MB / 0.6877 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.1947, allocations: 4 kB / 0.6877 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.949e-05/0.1948, allocations: 3.938 kB / 0.6877 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.1948, allocations: 0 / 0.6877 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.1954, allocations: 132.8 kB / 0.6878 GB, free: 13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.1955, allocations: 46.12 kB / 0.6878 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.95e-05/0.1955, allocations: 288 / 0.6878 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.344e-05/0.1956, allocations: 15.94 kB / 0.6879 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.1956, allocations: 11.97 kB / 0.6879 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1957, allocations: 4.531 kB / 0.6879 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.196, allocations: 195.7 kB / 0.6881 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.196, allocations: 13.75 kB / 0.6881 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.1961, allocations: 41.62 kB / 0.6881 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1963, allocations: 131.7 kB / 0.6882 GB, free: 12.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1963, allocations: 0 / 0.6882 GB, free: 12.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1963, allocations: 4 kB / 0.6882 GB, free: 12.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1963, allocations: 0.8438 kB / 0.6882 GB, free: 12.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000513/0.1968, allocations: 421.8 kB / 0.6887 GB, free: 12.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1969, allocations: 8.031 kB / 0.6887 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.1969, allocations: 12.25 kB / 0.6887 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.1971, allocations: 172.4 kB / 0.6888 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1971, allocations: 4.375 kB / 0.6888 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1971, allocations: 384 / 0.6888 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.1973, allocations: 81.92 kB / 0.6889 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1973, allocations: 0 / 0.6889 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1973, allocations: 0 / 0.6889 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1974, allocations: 1.125 kB / 0.6889 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1975, allocations: 56.61 kB / 0.689 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.1979, allocations: 282.3 kB / 0.6892 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.198, allocations: 59.38 kB / 0.6893 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.201e-05/0.1981, allocations: 58.23 kB / 0.6894 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.1982, allocations: 0 / 0.6894 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1982, allocations: 32.38 kB / 0.6894 GB, free: 11.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1982, allocations: 0 / 0.6894 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004125/0.1986, allocations: 191.3 kB / 0.6896 GB, free: 11.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.1987, allocations: 77.11 kB / 0.6896 GB, free: 10.92 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.591e-05/0.1988, allocations: 137.7 kB / 0.6898 GB, free: 10.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1988, allocations: 25.7 kB / 0.6898 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.1989, allocations: 88.05 kB / 0.6899 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.1989, allocations: 7.906 kB / 0.6899 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.1989, allocations: 21.64 kB / 0.6899 GB, free: 10.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.199, allocations: 318.9 kB / 0.6902 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1991, allocations: 59.97 kB / 0.6903 GB, free: 10.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.849e-05/0.1992, allocations: 55.95 kB / 0.6903 GB, free: 10.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.1995, allocations: 201.8 kB / 0.6905 GB, free: 9.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1995, allocations: 0 / 0.6905 GB, free: 9.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000284/0.1998, allocations: 221 kB / 0.6907 GB, free: 9.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.1998, allocations: 63.39 kB / 0.6908 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1998, allocations: 0 / 0.6908 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1999, allocations: 4 kB / 0.6908 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.1999, allocations: 4 kB / 0.6908 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1999, allocations: 3.938 kB / 0.6908 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.2, allocations: 15.83 kB / 0.6908 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.2, allocations: 12.06 kB / 0.6908 GB, free: 9.621 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.0001135/0.2001, allocations: 148.1 kB / 0.691 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.2002, allocations: 7.984 kB / 0.691 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.2002, allocations: 7.906 kB / 0.691 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2002, allocations: 0 / 0.691 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2002, allocations: 0 / 0.691 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2002, allocations: 0 / 0.691 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.2004, allocations: 177.6 kB / 0.6912 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2004, allocations: 0 / 0.6912 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.2004, allocations: 8 kB / 0.6912 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2004, allocations: 0 / 0.6912 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.2005, allocations: 0 / 0.6912 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2005, allocations: 0 / 0.6912 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2005, allocations: 3.984 kB / 0.6912 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.2008, allocations: 257 kB / 0.6914 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.2008, allocations: 88.98 kB / 0.6915 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.2008, allocations: 8 kB / 0.6915 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.755e-05/0.2009, allocations: 7.938 kB / 0.6915 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.981e-05/0.201, allocations: 7.984 kB / 0.6915 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.201, allocations: 0 / 0.6915 GB, free: 8.805 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.367e-05/0.2011, allocations: 99.27 kB / 0.6916 GB, free: 8.707 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2011, allocations: 0 / 0.6916 GB, free: 8.707 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.2014, allocations: 59.92 kB / 0.6917 GB, free: 8.648 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.2017, allocations: 159.2 kB / 0.6918 GB, free: 8.484 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.202, allocations: 238.7 kB / 0.692 GB, free: 8.227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.202, allocations: 0 / 0.692 GB, free: 8.227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.2022, allocations: 107.4 kB / 0.6921 GB, free: 8.109 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.2024, allocations: 4.688 kB / 0.6922 GB, free: 8.105 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.2028, allocations: 222.4 kB / 0.6924 GB, free: 7.859 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.2031, allocations: 0.6848 MB / 0.693 GB, free: 7.148 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.2031, allocations: 11.44 kB / 0.693 GB, free: 7.137 MB / 494.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2031, allocations: 0 / 0.693 GB, free: 7.137 MB / 494.1 MB Notification: Performance of Templates: time 0.00325/0.2064, allocations: 1.488 MB / 0.6945 GB, free: 5.656 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSplineCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSplineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSplineCalcHelperMain.o] Error 1