Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac",fileNamePrefix="Buildings_9_Buildings.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.0009854/0.0009853, allocations: 99.75 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.001477/0.001477, allocations: 174.8 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.543/1.543, allocations: 223.2 MB / 240.6 MB, free: 5.406 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.627/2.627, allocations: 390.5 MB / 0.6662 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004676, allocations: 16 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9387/0.9392, allocations: 142.3 MB / 0.9544 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.0006797/0.9399, allocations: 322.3 kB / 0.9547 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002589/0.9402, allocations: 50.81 kB / 0.9548 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.472e-05/0.9402, allocations: 0 / 0.9548 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.023e-05/0.9402, allocations: 0 / 0.9548 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.143e-06/0.9402, allocations: 0 / 0.9548 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.9404, allocations: 7.922 kB / 0.9548 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.286e-05/0.9405, allocations: 5.547 kB / 0.9548 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.9405, allocations: 1.375 kB / 0.9548 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.559e-05/0.9405, allocations: 4 kB / 0.9548 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/0.9406, allocations: 6.094 kB / 0.9548 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.9406, allocations: 0 / 0.9548 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.856e-05/0.9407, allocations: 11.45 kB / 0.9548 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.973e-06/0.9407, allocations: 1.031 kB / 0.9548 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.9407, allocations: 26.77 kB / 0.9548 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.03e-05/0.9408, allocations: 2.594 kB / 0.9548 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9408, allocations: 4 kB / 0.9548 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9408, allocations: 0 / 0.9548 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.9408, allocations: 0 / 0.9548 GB, free: 7.852 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001943/0.941, allocations: 315.2 kB / 0.9551 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.941, allocations: 8.656 kB / 0.9551 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.9411, allocations: 9.359 kB / 0.9552 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.225e-05/0.9411, allocations: 163.1 kB / 0.9553 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.9411, allocations: 0 / 0.9553 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.9412, allocations: 1.812 kB / 0.9553 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.373e-05/0.9412, allocations: 32.16 kB / 0.9553 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.9413, allocations: 1.281 kB / 0.9553 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.9413, allocations: 7.938 kB / 0.9553 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.9413, allocations: 0 / 0.9553 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.181e-05/0.9413, allocations: 7.703 kB / 0.9554 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.9414, allocations: 155 kB / 0.9555 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.659e-05/0.9415, allocations: 23.58 kB / 0.9555 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.9415, allocations: 7.547 kB / 0.9555 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.9417, allocations: 87.47 kB / 0.9556 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.9417, allocations: 35.77 kB / 0.9557 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9417, allocations: 0 / 0.9557 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001289/0.9418, allocations: 42.42 kB / 0.9557 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.9419, allocations: 56.72 kB / 0.9557 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.999e-05/0.9419, allocations: 93.77 kB / 0.9558 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.9419, allocations: 29.64 kB / 0.9559 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.366e-05/0.9419, allocations: 81.2 kB / 0.9559 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.942, allocations: 5.938 kB / 0.9559 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-06/0.942, allocations: 0 / 0.9559 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.942, allocations: 318.8 kB / 0.9563 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.942, allocations: 1.469 kB / 0.9563 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-06/0.942, allocations: 6.531 kB / 0.9563 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.771e-05/0.9421, allocations: 2.281 kB / 0.9563 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9421, allocations: 0 / 0.9563 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.988e-05/0.9421, allocations: 45.09 kB / 0.9563 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.9421, allocations: 7 kB / 0.9563 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.9422, allocations: 0 / 0.9563 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.9422, allocations: 1.406 kB / 0.9563 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.208e-05/0.9422, allocations: 2.469 kB / 0.9563 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.9422, allocations: 0 / 0.9563 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.9423, allocations: 5.312 kB / 0.9563 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.9423, allocations: 0 / 0.9563 GB, free: 6.168 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,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 4.623e-05/0.9423, allocations: 112.4 kB / 0.9564 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-06/0.9423, allocations: 0 / 0.9564 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.659e-05/0.9424, allocations: 50.25 kB / 0.9565 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.9424, allocations: 0 / 0.9565 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.9424, allocations: 1.312 kB / 0.9565 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.9424, allocations: 0 / 0.9565 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.624e-05/0.9425, allocations: 155 kB / 0.9566 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.9425, allocations: 4.844 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.9425, allocations: 2.906 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.9425, allocations: 1.469 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-06/0.9425, allocations: 0 / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.9425, allocations: 0 / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9426, allocations: 1.438 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.876e-05/0.9426, allocations: 69.67 kB / 0.9567 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.9426, allocations: 85.05 kB / 0.9568 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.9427, allocations: 4.594 kB / 0.9568 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.9427, allocations: 1 kB / 0.9568 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.9427, allocations: 9.453 kB / 0.9568 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.9427, allocations: 1.406 kB / 0.9568 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.483e-05/0.9427, allocations: 75.28 kB / 0.9569 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9427, allocations: 0 / 0.9569 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001705/0.9429, allocations: 4.125 kB / 0.9569 GB, free: 5.535 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,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.0001396/0.9431, allocations: 108.2 kB / 0.957 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.296e-05/0.9431, allocations: 6.875 kB / 0.957 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9431, allocations: 0 / 0.957 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.9431, allocations: 12.33 kB / 0.957 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.9433, allocations: 6.359 kB / 0.957 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000166/0.9434, allocations: 107 kB / 0.9571 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.653e-05/0.9436, allocations: 0.6754 MB / 0.9578 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.9436, allocations: 8.812 kB / 0.9578 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9436, allocations: 4 kB / 0.9578 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of Templates: time 0.00163/0.9452, allocations: 446.4 kB / 0.9582 GB, free: 4.379 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f Buildings_9_Buildings.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 OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.o] Error 1