Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac.y",fileNamePrefix="Buildings_latest_Buildings.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.001076/0.001076, allocations: 99.12 kB / 15.71 MB, free: 440 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.001519/0.001519, allocations: 174 kB / 16.58 MB, free: 6.418 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.515/1.515, allocations: 223.2 MB / 240.6 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.74/2.74, allocations: 436.7 MB / 0.7113 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004283, allocations: 12 kB / 0.8717 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8429/0.8433, allocations: 153.7 MB / 1.022 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001929/0.8453, allocations: 1.225 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004445/0.8458, allocations: 128.4 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.8458, allocations: 0 / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.8459, allocations: 0 / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.357e-05/0.8459, allocations: 7.922 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.8461, allocations: 19.98 kB / 1.023 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.447e-05/0.8462, allocations: 27.86 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.8463, allocations: 8 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.8464, allocations: 11.98 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.8464, allocations: 19.91 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.8464, allocations: 4 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.413e-05/0.8465, allocations: 4 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.8465, allocations: 7.984 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.8466, allocations: 29.7 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.184e-05/0.8467, allocations: 11.97 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.8467, allocations: 4 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.258e-06/0.8467, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.8467, allocations: 7.938 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB 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.0005175/0.8472, allocations: 341.3 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.8473, allocations: 11.98 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.8473, allocations: 4 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.8474, allocations: 167 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.8475, allocations: 4 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.8475, allocations: 4 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.8477, allocations: 65.62 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.8477, allocations: 0 / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.8477, allocations: 0 / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.8477, allocations: 0 / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.848, allocations: 55.95 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.8484, allocations: 272.8 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.8487, allocations: 66.48 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.8488, allocations: 32.89 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.849, allocations: 81.11 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.849, allocations: 38.56 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.849, allocations: 0 / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003834/0.8494, allocations: 117.6 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.8495, allocations: 51.41 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.217e-05/0.8496, allocations: 105.8 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.8496, allocations: 29.7 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.8496, allocations: 80.14 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.8497, allocations: 3.906 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.8497, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.8498, allocations: 318.8 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.8499, allocations: 23.97 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.85, allocations: 23.98 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.681e-05/0.8501, allocations: 27.97 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8501, allocations: 3.953 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002116/0.8503, allocations: 94.02 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.8504, allocations: 11.94 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.8504, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.8504, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.688e-05/0.8505, allocations: 11.98 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.8505, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.8505, allocations: 15.98 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.8506, allocations: 0 / 1.025 GB, free: 13.32 MB / 0.7794 GB 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 0.0001525/0.8507, allocations: 113.8 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.8507, allocations: 7.938 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.851, allocations: 97.08 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.851, allocations: 0 / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.851, allocations: 0 / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.851, allocations: 0 / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.8512, allocations: 161.7 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8512, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.596e-05/0.8513, allocations: 19.94 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.8513, allocations: 7.938 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.8513, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8513, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8513, allocations: 4 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.8516, allocations: 183.3 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.8516, allocations: 85.05 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.8517, allocations: 7.953 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.8518, allocations: 7.984 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.8518, allocations: 11.98 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.8519, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.8519, allocations: 79.28 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8519, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002176/0.8521, allocations: 8 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB 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.0001524/0.8523, allocations: 103.2 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.8525, allocations: 51.95 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.8525, allocations: 0 / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.8527, allocations: 39.91 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.8529, allocations: 6.031 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.8533, allocations: 138.4 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.8536, allocations: 0.6809 MB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.8536, allocations: 7.438 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8536, allocations: 4 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of Templates: time 0.002241/0.8559, allocations: 0.7191 MB / 1.028 GB, free: 10.63 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.makefile make -j1 -f Buildings_latest_Buildings.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 OMCppBuildings_latest_Buildings.Utilities.Math.Examples.FactorialCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.FactorialCalcHelperMain.o] Error 1