Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.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.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008399/0.00084, allocations: 103 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.0009315/0.0009314, allocations: 173.1 kB / 16.58 MB, free: 6.402 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.464/1.464, allocations: 223.3 MB / 240.6 MB, free: 5.32 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.58/2.58, allocations: 390.5 MB / 0.6662 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004172, allocations: 12 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8883/0.8888, allocations: 142.3 MB / 0.9544 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006504/0.8895, allocations: 314.8 kB / 0.9547 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002256/0.8897, allocations: 56.52 kB / 0.9548 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.8897, allocations: 0 / 0.9548 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.8898, allocations: 0 / 0.9548 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.8898, allocations: 0 / 0.9548 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.89, allocations: 19.81 kB / 0.9548 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.442e-05/0.8901, allocations: 21.45 kB / 0.9548 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.8901, allocations: 0.9375 kB / 0.9548 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.128e-05/0.8901, allocations: 14.41 kB / 0.9548 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.935e-05/0.8902, allocations: 9.5 kB / 0.9548 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.8902, allocations: 5.312 kB / 0.9548 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.496e-05/0.8903, allocations: 19.89 kB / 0.9549 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.8903, allocations: 13.73 kB / 0.9549 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.8903, allocations: 32.42 kB / 0.9549 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.466e-05/0.8904, allocations: 20.09 kB / 0.9549 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.8904, allocations: 0 / 0.9549 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8904, allocations: 0 / 0.9549 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.8904, allocations: 0 / 0.9549 GB, free: 7.742 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002087/0.8906, allocations: 329.5 kB / 0.9552 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.8907, allocations: 8.812 kB / 0.9552 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.8907, allocations: 14.95 kB / 0.9553 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.008e-05/0.8908, allocations: 169 kB / 0.9554 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.8908, allocations: 2.5 kB / 0.9554 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.8908, allocations: 7.75 kB / 0.9554 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.8909, allocations: 61.73 kB / 0.9555 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.891, allocations: 0 / 0.9555 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.891, allocations: 1.188 kB / 0.9555 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.891, allocations: 1.219 kB / 0.9555 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.8911, allocations: 106.5 kB / 0.9556 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.8913, allocations: 178.4 kB / 0.9558 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.953e-05/0.8914, allocations: 80.78 kB / 0.9558 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.8914, allocations: 32.28 kB / 0.9559 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.8916, allocations: 405.7 kB / 0.9563 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.8917, allocations: 30.56 kB / 0.9563 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.8917, allocations: 1.062 kB / 0.9563 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0002166/0.8919, allocations: 120.6 kB / 0.9564 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.8919, allocations: 53.09 kB / 0.9564 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.475e-05/0.892, allocations: 95.17 kB / 0.9565 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.892, allocations: 29.7 kB / 0.9566 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.354e-05/0.892, allocations: 80.33 kB / 0.9566 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.892, allocations: 19.88 kB / 0.9567 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.892, allocations: 1.219 kB / 0.9567 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.432e-05/0.8921, allocations: 324 kB / 0.957 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.8921, allocations: 19.23 kB / 0.957 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.8921, allocations: 20.42 kB / 0.957 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.915e-05/0.8922, allocations: 31.77 kB / 0.957 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.8922, allocations: 0 / 0.957 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001181/0.8923, allocations: 91.7 kB / 0.9571 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.8923, allocations: 5.688 kB / 0.9571 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.8924, allocations: 0 / 0.9571 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.8924, allocations: 1.375 kB / 0.9571 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.8925, allocations: 19.3 kB / 0.9572 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8925, allocations: 0 / 0.9572 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.8925, allocations: 9.625 kB / 0.9572 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.8925, allocations: 2.781 kB / 0.9572 GB, free: 5.457 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001037/0.8926, allocations: 135 kB / 0.9573 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.8926, allocations: 1.438 kB / 0.9573 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.8928, allocations: 122.5 kB / 0.9574 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.8929, allocations: 1 kB / 0.9574 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.8929, allocations: 8.625 kB / 0.9574 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.8929, allocations: 0 / 0.9574 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.542e-05/0.893, allocations: 183.2 kB / 0.9576 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.893, allocations: 4 kB / 0.9576 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/0.893, allocations: 27.64 kB / 0.9576 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8931, allocations: 0 / 0.9576 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.8931, allocations: 2.188 kB / 0.9576 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8931, allocations: 0 / 0.9576 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8931, allocations: 1.219 kB / 0.9576 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.8932, allocations: 118.6 kB / 0.9577 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.8932, allocations: 78.52 kB / 0.9578 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.8933, allocations: 9.156 kB / 0.9578 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.346e-05/0.8933, allocations: 1 kB / 0.9578 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.8933, allocations: 12.02 kB / 0.9578 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.8933, allocations: 3.062 kB / 0.9578 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.422e-05/0.8933, allocations: 84.22 kB / 0.9579 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8933, allocations: 0 / 0.9579 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001922/0.8935, allocations: 14.53 kB / 0.9579 GB, free: 4.711 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001579/0.8937, allocations: 120.7 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.8938, allocations: 58.14 kB / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.8939, allocations: 0 / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.761e-05/0.8939, allocations: 38.59 kB / 0.9581 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.894, allocations: 9.266 kB / 0.9582 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.8943, allocations: 178.2 kB / 0.9583 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.8944, allocations: 0.686 MB / 0.959 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.8944, allocations: 14.16 kB / 0.959 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8944, allocations: 0 / 0.959 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of Templates: time 0.002372/0.8968, allocations: 0.9467 MB / 0.9599 GB, free: 3.215 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.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.FallingFactorialCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.o] Error 1