Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008855/0.0008858, allocations: 90.67 kB / 16.33 MB, free: 6.797 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.0008842/0.0008843, allocations: 186.9 kB / 17.22 MB, free: 6.652 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.455/1.455, allocations: 223.2 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.704/0.704, allocations: 114.4 MB / 406.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 12.69 kB / 494.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.175, allocations: 77.28 MB / 0.5583 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.001759/0.1768, allocations: 1.214 MB / 0.5595 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003459/0.1771, allocations: 116.5 kB / 0.5596 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.1772, allocations: 0 / 0.5596 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.1772, allocations: 3.984 kB / 0.5596 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.1773, allocations: 3.984 kB / 0.5596 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.1775, allocations: 19.92 kB / 0.5596 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.283e-05/0.1775, allocations: 27.92 kB / 0.5597 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.512e-05/0.1776, allocations: 4 kB / 0.5597 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.1777, allocations: 11.98 kB / 0.5597 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.1777, allocations: 15.92 kB / 0.5597 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1778, allocations: 0 / 0.5597 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.802e-05/0.1778, allocations: 15.98 kB / 0.5597 GB, free: 9.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.257e-06/0.1778, allocations: 0 / 0.5597 GB, free: 9.551 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.1779, allocations: 25.7 kB / 0.5597 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.042e-05/0.178, allocations: 27.95 kB / 0.5598 GB, free: 9.492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.178, allocations: 0 / 0.5598 GB, free: 9.492 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.178, allocations: 0 / 0.5598 GB, free: 9.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.178, allocations: 0 / 0.5598 GB, free: 9.492 MB / 430.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.0004819/0.1785, allocations: 347.6 kB / 0.5601 GB, free: 9.105 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1785, allocations: 12.02 kB / 0.5601 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.1786, allocations: 3.906 kB / 0.5601 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.1787, allocations: 167 kB / 0.5603 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1787, allocations: 0 / 0.5603 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1788, allocations: 0 / 0.5603 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.1789, allocations: 69.66 kB / 0.5603 GB, free: 8.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.179, allocations: 3.953 kB / 0.5603 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.179, allocations: 3.938 kB / 0.5603 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.179, allocations: 4 kB / 0.5604 GB, free: 8.801 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.1792, allocations: 51.95 kB / 0.5604 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.1795, allocations: 264.9 kB / 0.5607 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.1798, allocations: 66.47 kB / 0.5607 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.254e-05/0.1799, allocations: 36.89 kB / 0.5608 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.1801, allocations: 89.05 kB / 0.5608 GB, free: 8.223 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.1801, allocations: 30.56 kB / 0.5609 GB, free: 8.184 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1801, allocations: 0 / 0.5609 GB, free: 8.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003661/0.1805, allocations: 117.5 kB / 0.561 GB, free: 8.062 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.1805, allocations: 51.41 kB / 0.561 GB, free: 8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.1806, allocations: 97.86 kB / 0.5611 GB, free: 7.895 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.1807, allocations: 25.7 kB / 0.5611 GB, free: 7.863 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.1807, allocations: 96.12 kB / 0.5612 GB, free: 7.766 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.1807, allocations: 7.844 kB / 0.5612 GB, free: 7.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.1807, allocations: 0 / 0.5612 GB, free: 7.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1809, allocations: 310.8 kB / 0.5615 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.548e-05/0.181, allocations: 27.97 kB / 0.5616 GB, free: 7.418 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.181, allocations: 27.98 kB / 0.5616 GB, free: 7.391 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1812, allocations: 23.98 kB / 0.5616 GB, free: 7.367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1812, allocations: 0 / 0.5616 GB, free: 7.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001956/0.1814, allocations: 93.53 kB / 0.5617 GB, free: 7.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1814, allocations: 4 kB / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1814, allocations: 0 / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1814, allocations: 0 / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.438e-05/0.1815, allocations: 15.98 kB / 0.5617 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1815, allocations: 0 / 0.5617 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/0.1816, allocations: 8 kB / 0.5617 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1816, allocations: 7.984 kB / 0.5617 GB, free: 7.234 MB / 430.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: 2 (fac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.504e-05/0.1817, allocations: 109.8 kB / 0.5618 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.1817, allocations: 11.86 kB / 0.5619 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.182, allocations: 89.14 kB / 0.5619 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.182, allocations: 7.938 kB / 0.5619 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.182, allocations: 0 / 0.5619 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.182, allocations: 3.938 kB / 0.562 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.1822, allocations: 165.7 kB / 0.5621 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1822, allocations: 4 kB / 0.5621 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.583e-05/0.1822, allocations: 11.98 kB / 0.5621 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1822, allocations: 0.5625 kB / 0.5621 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1823, allocations: 3.953 kB / 0.5621 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1823, allocations: 4 kB / 0.5621 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1823, allocations: 0 / 0.5621 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.1825, allocations: 183.5 kB / 0.5623 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.1825, allocations: 77.11 kB / 0.5624 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.1826, allocations: 0 / 0.5624 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.1827, allocations: 19.95 kB / 0.5624 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.1827, allocations: 7.984 kB / 0.5624 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1827, allocations: 0 / 0.5624 GB, free: 6.445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.786e-05/0.1828, allocations: 91.14 kB / 0.5625 GB, free: 6.355 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1828, allocations: 0 / 0.5625 GB, free: 6.355 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000219/0.183, allocations: 12 kB / 0.5625 GB, free: 6.344 MB / 430.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: 2 (fac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001365/0.1831, allocations: 95.94 kB / 0.5626 GB, free: 6.238 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002581/0.1834, allocations: 55.95 kB / 0.5627 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1834, allocations: 0 / 0.5627 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.14e-05/0.1835, allocations: 35.97 kB / 0.5627 GB, free: 6.148 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.1838, allocations: 4 kB / 0.5627 GB, free: 6.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.1841, allocations: 146.2 kB / 0.5628 GB, free: 5.973 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.1844, allocations: 0.6809 MB / 0.5635 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.1845, allocations: 11.44 kB / 0.5635 GB, free: 5.254 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1845, allocations: 0 / 0.5635 GB, free: 5.254 MB / 430.1 MB Notification: Performance of Templates: time 0.001873/0.1863, allocations: 0.723 MB / 0.5642 GB, free: 4.531 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.makefile make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.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 OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.FactorialCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.FactorialCalcHelperMain.o] Error 1