Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000792/0.000792, allocations: 99.83 kB / 15.71 MB, free: 452 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.0009108/0.0009109, allocations: 177.6 kB / 16.58 MB, free: 6.422 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.413/1.413, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00182/0.001819, allocations: 274.9 kB / 292 MB, free: 1.941 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9111/0.9111, allocations: 144.7 MB / 487.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000424/0.000424, allocations: 16.12 kB / 0.5691 GB, free: 38.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1817, allocations: 83.1 MB / 0.6502 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0007995/0.1825, allocations: 343.7 kB / 0.6506 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004203/0.183, allocations: 180.7 kB / 0.6507 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.183, allocations: 0 / 0.6507 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.183, allocations: 0 / 0.6507 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.1832, allocations: 11.94 kB / 0.6508 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.1834, allocations: 55.89 kB / 0.6508 GB, free: 2.977 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.513e-05/0.1835, allocations: 28.41 kB / 0.6508 GB, free: 2.949 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/0.1835, allocations: 0.5 kB / 0.6508 GB, free: 2.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.469e-05/0.1836, allocations: 16.84 kB / 0.6509 GB, free: 2.934 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.276e-05/0.1837, allocations: 23.89 kB / 0.6509 GB, free: 2.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1837, allocations: 4 kB / 0.6509 GB, free: 2.906 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.1839, allocations: 104.4 kB / 0.651 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.1839, allocations: 12.42 kB / 0.651 GB, free: 2.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.1839, allocations: 25.7 kB / 0.651 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.1841, allocations: 64.47 kB / 0.6511 GB, free: 2.699 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1841, allocations: 6.344 kB / 0.6511 GB, free: 2.695 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.1841, allocations: 4 kB / 0.6511 GB, free: 2.691 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1841, allocations: 0 / 0.6511 GB, free: 2.691 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004978/0.1846, allocations: 360.3 kB / 0.6514 GB, free: 2.293 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1847, allocations: 8.625 kB / 0.6514 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.1847, allocations: 8.594 kB / 0.6515 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.1849, allocations: 171 kB / 0.6516 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1849, allocations: 4.953 kB / 0.6516 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1849, allocations: 4 kB / 0.6516 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1851, allocations: 62.98 kB / 0.6517 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1851, allocations: 0 / 0.6517 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1851, allocations: 1.25 kB / 0.6517 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1851, allocations: 0 / 0.6517 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.1853, allocations: 41.66 kB / 0.6517 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.1856, allocations: 257.5 kB / 0.652 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.1858, allocations: 86.52 kB / 0.6521 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.137e-05/0.1859, allocations: 35.38 kB / 0.6521 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.1859, allocations: 0 / 0.6521 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1859, allocations: 34.56 kB / 0.6521 GB, free: 1.488 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.186, allocations: 0 / 0.6521 GB, free: 1.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.02365/0.2096, allocations: 1.762 MB / 0.6538 GB, free: 15.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.2097, allocations: 51.41 kB / 0.6539 GB, free: 15.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.2098, allocations: 117.8 kB / 0.654 GB, free: 15.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.835e-05/0.2099, allocations: 29.7 kB / 0.654 GB, free: 15.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.21, allocations: 84.05 kB / 0.6541 GB, free: 15.42 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.117e-05/0.21, allocations: 27.64 kB / 0.6541 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.2101, allocations: 4 kB / 0.6541 GB, free: 15.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2102, allocations: 318.8 kB / 0.6544 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/0.2107, allocations: 159.9 kB / 0.6546 GB, free: 14.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/0.2112, allocations: 167.8 kB / 0.6548 GB, free: 14.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.2117, allocations: 160 kB / 0.6549 GB, free: 14.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2117, allocations: 4 kB / 0.6549 GB, free: 14.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001168/0.2129, allocations: 385.9 kB / 0.6553 GB, free: 14.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.2129, allocations: 8 kB / 0.6553 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.213, allocations: 3.938 kB / 0.6553 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.213, allocations: 0 / 0.6553 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.2143, allocations: 75.89 kB / 0.6554 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2143, allocations: 4.094 kB / 0.6554 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.2155, allocations: 59.88 kB / 0.6554 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.2155, allocations: 3.984 kB / 0.6554 GB, free: 14.05 MB / 462.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 (9): * Single equations (assignments): 9 * 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.0001661/0.2157, allocations: 123.1 kB / 0.6555 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.2158, allocations: 7.906 kB / 0.6556 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.2159, allocations: 16.38 kB / 0.6556 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2159, allocations: 4 kB / 0.6556 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.216, allocations: 8 kB / 0.6556 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.216, allocations: 0 / 0.6556 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004899/0.2209, allocations: 0.904 MB / 0.6565 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.2209, allocations: 4 kB / 0.6565 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009425/0.2218, allocations: 63.91 kB / 0.6565 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2219, allocations: 8.062 kB / 0.6565 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.2219, allocations: 11.97 kB / 0.6565 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.2219, allocations: 7.953 kB / 0.6566 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2219, allocations: 0 / 0.6566 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009149/0.2229, allocations: 364.9 kB / 0.6569 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.2229, allocations: 97 kB / 0.657 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/0.223, allocations: 0 / 0.657 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008442/0.2238, allocations: 43.95 kB / 0.657 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.2239, allocations: 11.94 kB / 0.657 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.2239, allocations: 7.984 kB / 0.6571 GB, free: 12.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.105e-05/0.224, allocations: 95.27 kB / 0.6571 GB, free: 12.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.224, allocations: 4 kB / 0.6572 GB, free: 12.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004144/0.2244, allocations: 92 kB / 0.6572 GB, free: 12.09 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0002264/0.2247, allocations: 123.2 kB / 0.6574 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000988/0.2256, allocations: 279.8 kB / 0.6576 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2257, allocations: 0 / 0.6576 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004143/0.2261, allocations: 120 kB / 0.6577 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.2264, allocations: 15.97 kB / 0.6578 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.2287, allocations: 378.5 kB / 0.6581 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.229, allocations: 0.6828 MB / 0.6588 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/0.2295, allocations: 31.38 kB / 0.6588 GB, free: 10.41 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2295, allocations: 0 / 0.6588 GB, free: 10.41 MB / 462.1 MB Notification: Performance of Templates: time 0.007863/0.2373, allocations: 5.147 MB / 0.6638 GB, free: 5.227 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermiteCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermiteCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermiteCalcHelperMain.o] Error 1