Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 94.08 kB / 16.33 MB, free: 5.562 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.001102/0.001102, allocations: 187.2 kB / 17.23 MB, free: 5.477 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.477/1.477, allocations: 223.2 MB / 241.2 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7257/0.7257, allocations: 114.3 MB / 406.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 12 kB / 494.5 MB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.5112, allocations: 77.25 MB / 0.5583 GB, free: 36.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.0009156/0.5122, allocations: 313 kB / 0.5586 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002798/0.5125, allocations: 39.31 kB / 0.5587 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.5125, allocations: 0 / 0.5587 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.5126, allocations: 0 / 0.5587 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.334e-06/0.5126, allocations: 0 / 0.5587 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.5128, allocations: 16.94 kB / 0.5587 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.148e-05/0.5129, allocations: 5.734 kB / 0.5587 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.759e-05/0.513, allocations: 2.859 kB / 0.5587 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.039e-05/0.513, allocations: 1.094 kB / 0.5587 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.032e-05/0.513, allocations: 1.703 kB / 0.5587 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.5131, allocations: 2 kB / 0.5587 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.292e-05/0.5132, allocations: 11.31 kB / 0.5587 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.5132, allocations: 0 / 0.5587 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.5132, allocations: 26.92 kB / 0.5587 GB, free: 36.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.255e-05/0.5133, allocations: 8.625 kB / 0.5587 GB, free: 36.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.5133, allocations: 0.6562 kB / 0.5587 GB, free: 36.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5133, allocations: 0 / 0.5587 GB, free: 36.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.5134, allocations: 1.062 kB / 0.5587 GB, free: 36.55 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00028/0.5136, allocations: 320.7 kB / 0.559 GB, free: 36.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.5137, allocations: 15.17 kB / 0.559 GB, free: 36.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.5137, allocations: 2.156 kB / 0.559 GB, free: 36.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.993e-05/0.5138, allocations: 159.6 kB / 0.5592 GB, free: 35.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.5138, allocations: 0.6562 kB / 0.5592 GB, free: 35.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.5139, allocations: 2.375 kB / 0.5592 GB, free: 35.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.514, allocations: 37.06 kB / 0.5592 GB, free: 35.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.514, allocations: 7.891 kB / 0.5592 GB, free: 35.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.5141, allocations: 0 / 0.5592 GB, free: 35.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5141, allocations: 1.5 kB / 0.5592 GB, free: 35.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.5141, allocations: 7.375 kB / 0.5593 GB, free: 35.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.5143, allocations: 147 kB / 0.5594 GB, free: 35.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.483e-05/0.5143, allocations: 25.88 kB / 0.5594 GB, free: 35.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.5144, allocations: 9.766 kB / 0.5594 GB, free: 35.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/0.5146, allocations: 85.73 kB / 0.5595 GB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.5146, allocations: 36.45 kB / 0.5595 GB, free: 35.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.5146, allocations: 0 / 0.5595 GB, free: 35.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001776/0.5148, allocations: 45.61 kB / 0.5596 GB, free: 35.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.5149, allocations: 53.52 kB / 0.5596 GB, free: 35.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.047e-05/0.5149, allocations: 90.7 kB / 0.5597 GB, free: 35.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.5149, allocations: 26.45 kB / 0.5598 GB, free: 35.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.375e-05/0.515, allocations: 82.42 kB / 0.5598 GB, free: 35.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.515, allocations: 0 / 0.5598 GB, free: 35.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.515, allocations: 1.75 kB / 0.5598 GB, free: 35.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.5151, allocations: 318 kB / 0.5601 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.5151, allocations: 2.734 kB / 0.5601 GB, free: 34.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.14e-05/0.5151, allocations: 5.703 kB / 0.5601 GB, free: 34.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/0.5152, allocations: 3.812 kB / 0.5601 GB, free: 34.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5152, allocations: 0 / 0.5601 GB, free: 34.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.341e-05/0.5153, allocations: 46.19 kB / 0.5602 GB, free: 34.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5153, allocations: 3.906 kB / 0.5602 GB, free: 34.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5153, allocations: 1 kB / 0.5602 GB, free: 34.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5153, allocations: 0.7031 kB / 0.5602 GB, free: 34.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.5154, allocations: 5.359 kB / 0.5602 GB, free: 34.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.5154, allocations: 3.953 kB / 0.5602 GB, free: 34.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.5155, allocations: 5.875 kB / 0.5602 GB, free: 34.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.5155, allocations: 0.7031 kB / 0.5602 GB, free: 34.9 MB / 446.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,n) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.323e-05/0.5156, allocations: 110 kB / 0.5603 GB, free: 34.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-06/0.5156, allocations: 1.953 kB / 0.5603 GB, free: 34.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.5157, allocations: 49.81 kB / 0.5604 GB, free: 34.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5157, allocations: 0.6094 kB / 0.5604 GB, free: 34.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5157, allocations: 2.219 kB / 0.5604 GB, free: 34.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5157, allocations: 3.953 kB / 0.5604 GB, free: 34.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.716e-05/0.5158, allocations: 150.3 kB / 0.5605 GB, free: 34.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5158, allocations: 0.6875 kB / 0.5605 GB, free: 34.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.5159, allocations: 4.25 kB / 0.5605 GB, free: 34.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5159, allocations: 2.641 kB / 0.5605 GB, free: 34.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.5159, allocations: 0 / 0.5605 GB, free: 34.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.5159, allocations: 1.062 kB / 0.5605 GB, free: 34.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5159, allocations: 6.125 kB / 0.5605 GB, free: 34.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.561e-05/0.516, allocations: 69.77 kB / 0.5606 GB, free: 34.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.516, allocations: 79.22 kB / 0.5607 GB, free: 34.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.5161, allocations: 1.438 kB / 0.5607 GB, free: 34.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.583e-05/0.5161, allocations: 0 / 0.5607 GB, free: 34.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.5161, allocations: 6.094 kB / 0.5607 GB, free: 34.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.5161, allocations: 0.6562 kB / 0.5607 GB, free: 34.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.568e-05/0.5162, allocations: 75.28 kB / 0.5608 GB, free: 34.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5162, allocations: 0.9375 kB / 0.5608 GB, free: 34.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003307/0.5165, allocations: 5.094 kB / 0.5608 GB, free: 34.3 MB / 446.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,n) * 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 (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.0001969/0.5167, allocations: 105.2 kB / 0.5609 GB, free: 34.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.864e-05/0.5168, allocations: 11.81 kB / 0.5609 GB, free: 34.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5168, allocations: 2.188 kB / 0.5609 GB, free: 34.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.963e-05/0.5169, allocations: 9.781 kB / 0.5609 GB, free: 34.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.5171, allocations: 0 / 0.5609 GB, free: 34.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.5173, allocations: 112.8 kB / 0.561 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.5175, allocations: 0.6717 MB / 0.5616 GB, free: 33.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.5175, allocations: 9.969 kB / 0.5617 GB, free: 33.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5175, allocations: 1.156 kB / 0.5617 GB, free: 33.37 MB / 446.1 MB Notification: Performance of Templates: time 0.003163/0.5207, allocations: 446.8 kB / 0.5621 GB, free: 33.37 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.FactorialCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.o] Error 1