Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac.y",fileNamePrefix="Buildings_9_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.001021/0.00102, allocations: 102.7 kB / 15.71 MB, free: 460 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.00146/0.00146, allocations: 177.6 kB / 16.58 MB, free: 6.863 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.548/1.548, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.661/2.661, allocations: 390.4 MB / 0.6662 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003992, allocations: 12.22 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9678/0.9682, allocations: 142.3 MB / 0.9544 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.00183/0.9701, allocations: 1.224 MB / 0.9556 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003619/0.9705, allocations: 115.2 kB / 0.9557 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.9705, allocations: 0 / 0.9557 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.008e-05/0.9706, allocations: 7.938 kB / 0.9557 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.9706, allocations: 5.453 kB / 0.9557 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.9708, allocations: 13.31 kB / 0.9557 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.928e-05/0.9709, allocations: 21.3 kB / 0.9558 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.539e-05/0.971, allocations: 11.64 kB / 0.9558 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.382e-05/0.9711, allocations: 12.02 kB / 0.9558 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.9711, allocations: 12.33 kB / 0.9558 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.9711, allocations: 1.312 kB / 0.9558 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.458e-05/0.9712, allocations: 9.641 kB / 0.9558 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.9712, allocations: 13.44 kB / 0.9558 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.9713, allocations: 27.05 kB / 0.9558 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.368e-05/0.9713, allocations: 21.66 kB / 0.9559 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.9714, allocations: 5.391 kB / 0.9559 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9714, allocations: 3.938 kB / 0.9559 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.9714, allocations: 0 / 0.9559 GB, free: 6.91 MB / 0.7169 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.0004022/0.9718, allocations: 348.3 kB / 0.9562 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.9718, allocations: 12.44 kB / 0.9562 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.9719, allocations: 4.828 kB / 0.9562 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.296e-05/0.972, allocations: 168.9 kB / 0.9564 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.972, allocations: 1.062 kB / 0.9564 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.972, allocations: 2 kB / 0.9564 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.9722, allocations: 68.72 kB / 0.9565 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.9722, allocations: 0.8438 kB / 0.9565 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.9722, allocations: 4 kB / 0.9565 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.9722, allocations: 1.062 kB / 0.9565 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.9724, allocations: 51.44 kB / 0.9565 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.9728, allocations: 266.7 kB / 0.9568 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.9731, allocations: 62.31 kB / 0.9568 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.531e-05/0.9732, allocations: 28.91 kB / 0.9568 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.9733, allocations: 88.28 kB / 0.9569 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.9733, allocations: 35.59 kB / 0.957 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.9733, allocations: 0 / 0.957 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003901/0.9737, allocations: 113.1 kB / 0.9571 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.9738, allocations: 51.41 kB / 0.9571 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.9738, allocations: 102.5 kB / 0.9572 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.9739, allocations: 26.98 kB / 0.9572 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.9739, allocations: 85.47 kB / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.9739, allocations: 9.125 kB / 0.9573 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.9739, allocations: 0 / 0.9573 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.481e-05/0.974, allocations: 320 kB / 0.9576 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.9741, allocations: 23.3 kB / 0.9577 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.973e-05/0.9742, allocations: 27.5 kB / 0.9577 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.64e-05/0.9743, allocations: 24.2 kB / 0.9577 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9743, allocations: 0 / 0.9577 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002071/0.9745, allocations: 89.98 kB / 0.9578 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.9745, allocations: 8.391 kB / 0.9578 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.9745, allocations: 1.031 kB / 0.9578 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.9746, allocations: 7.891 kB / 0.9578 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.9746, allocations: 18.3 kB / 0.9578 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.9747, allocations: 0 / 0.9578 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.301e-05/0.9747, allocations: 10.62 kB / 0.9578 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.9747, allocations: 1.062 kB / 0.9578 GB, free: 4.965 MB / 0.7169 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 6.674e-05/0.9748, allocations: 116.3 kB / 0.958 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.9748, allocations: 1.031 kB / 0.958 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.9751, allocations: 92.52 kB / 0.958 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.9751, allocations: 3.938 kB / 0.958 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.9751, allocations: 4.984 kB / 0.9581 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9751, allocations: 0 / 0.9581 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.9753, allocations: 164.2 kB / 0.9582 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9753, allocations: 8 kB / 0.9582 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.857e-05/0.9753, allocations: 13.95 kB / 0.9582 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.9753, allocations: 1.156 kB / 0.9582 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.9754, allocations: 0 / 0.9582 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.9754, allocations: 1.094 kB / 0.9582 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.9754, allocations: 3.938 kB / 0.9582 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.9756, allocations: 180.2 kB / 0.9584 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.9757, allocations: 90.16 kB / 0.9585 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.9757, allocations: 1.25 kB / 0.9585 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.9758, allocations: 9.844 kB / 0.9585 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.9758, allocations: 7.516 kB / 0.9585 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.9758, allocations: 5.125 kB / 0.9585 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.59e-05/0.9759, allocations: 81.39 kB / 0.9586 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9759, allocations: 1.312 kB / 0.9586 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002265/0.9761, allocations: 13.98 kB / 0.9586 GB, free: 4.195 MB / 0.7169 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.0001494/0.9763, allocations: 99.03 kB / 0.9587 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.9765, allocations: 59.02 kB / 0.9588 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.9765, allocations: 0 / 0.9588 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.359e-05/0.9766, allocations: 26.92 kB / 0.9588 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.9769, allocations: 10.02 kB / 0.9588 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.9772, allocations: 144.2 kB / 0.9589 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.9773, allocations: 0.6788 MB / 0.9596 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.9774, allocations: 9.781 kB / 0.9596 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9774, allocations: 0 / 0.9596 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of Templates: time 0.002449/0.9798, allocations: 0.7372 MB / 0.9603 GB, free: 2.836 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Factorial.makefile make -j1 -f Buildings_9_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_9_Buildings.Utilities.Math.Examples.FactorialCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.FactorialCalcHelperMain.o] Error 1