Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, 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.001381/0.001381, allocations: 173.8 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.503/1.503, allocations: 223.3 MB / 240.6 MB, free: 5.426 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.574/2.574, allocations: 390.4 MB / 0.6662 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8468/0.8472, allocations: 142.3 MB / 0.9544 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001792/0.849, allocations: 1.241 MB / 0.9556 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003774/0.8494, allocations: 129 kB / 0.9557 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.8495, allocations: 0 / 0.9557 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.8495, allocations: 3.938 kB / 0.9557 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.594e-05/0.8496, allocations: 9.391 kB / 0.9558 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.8498, allocations: 27.06 kB / 0.9558 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.977e-05/0.8499, allocations: 27.36 kB / 0.9558 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.85, allocations: 13.8 kB / 0.9558 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.172e-05/0.8501, allocations: 4.625 kB / 0.9558 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.8501, allocations: 20.47 kB / 0.9558 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.8502, allocations: 1.281 kB / 0.9558 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.936e-05/0.8502, allocations: 15.95 kB / 0.9559 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.8503, allocations: 9.906 kB / 0.9559 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.8503, allocations: 31.67 kB / 0.9559 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.022e-05/0.8504, allocations: 27.94 kB / 0.9559 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.8504, allocations: 3.984 kB / 0.9559 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8504, allocations: 0 / 0.9559 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.8504, allocations: 1.062 kB / 0.9559 GB, free: 6.867 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004287/0.8509, allocations: 348.2 kB / 0.9563 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.8509, allocations: 13.53 kB / 0.9563 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.851, allocations: 6.109 kB / 0.9563 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.543e-05/0.8511, allocations: 169.8 kB / 0.9564 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.8511, allocations: 6.219 kB / 0.9565 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.8511, allocations: 1.219 kB / 0.9565 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.8513, allocations: 71.28 kB / 0.9565 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.8513, allocations: 0 / 0.9565 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.8514, allocations: 1.312 kB / 0.9565 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.8514, allocations: 4 kB / 0.9565 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.8516, allocations: 58.41 kB / 0.9566 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.8519, allocations: 275.2 kB / 0.9568 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.8522, allocations: 71 kB / 0.9569 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.977e-05/0.8524, allocations: 32.55 kB / 0.9569 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.8526, allocations: 401.2 kB / 0.9573 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.8526, allocations: 35.55 kB / 0.9574 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.8526, allocations: 0 / 0.9574 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000369/0.853, allocations: 116.8 kB / 0.9575 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.853, allocations: 56.5 kB / 0.9575 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.634e-05/0.8531, allocations: 107.2 kB / 0.9576 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.8531, allocations: 25.7 kB / 0.9577 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.8532, allocations: 94.2 kB / 0.9577 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.8532, allocations: 4.75 kB / 0.9577 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.8532, allocations: 0.875 kB / 0.9577 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.8533, allocations: 319.9 kB / 0.9581 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-05/0.8534, allocations: 28.02 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.298e-05/0.8534, allocations: 19.39 kB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.027e-05/0.8535, allocations: 31.72 kB / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.8535, allocations: 0 / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002012/0.8537, allocations: 86.12 kB / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.8538, allocations: 5.75 kB / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.8538, allocations: 7.953 kB / 0.9582 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.8538, allocations: 5 kB / 0.9582 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.8539, allocations: 21.73 kB / 0.9582 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.8539, allocations: 0 / 0.9582 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.632e-05/0.854, allocations: 14.42 kB / 0.9583 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.854, allocations: 1.094 kB / 0.9583 GB, free: 4.504 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 (rea2Int.y,falFac.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.747e-05/0.854, allocations: 113.2 kB / 0.9584 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.8541, allocations: 1.156 kB / 0.9584 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.8543, allocations: 93.3 kB / 0.9585 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.8544, allocations: 4.891 kB / 0.9585 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8544, allocations: 0 / 0.9585 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8544, allocations: 5.078 kB / 0.9585 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.8545, allocations: 164.8 kB / 0.9586 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8545, allocations: 4 kB / 0.9586 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.8546, allocations: 18.48 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.8546, allocations: 0 / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.8546, allocations: 1.094 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.8546, allocations: 1.094 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8546, allocations: 3.953 kB / 0.9587 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.8549, allocations: 186.5 kB / 0.9588 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.8549, allocations: 83 kB / 0.9589 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.8549, allocations: 0 / 0.9589 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.855, allocations: 7.156 kB / 0.9589 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.8551, allocations: 14.41 kB / 0.9589 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.8551, allocations: 5.031 kB / 0.9589 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.54e-05/0.8551, allocations: 89.45 kB / 0.959 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8551, allocations: 0 / 0.959 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002215/0.8553, allocations: 12.16 kB / 0.959 GB, free: 3.734 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 (rea2Int.y,falFac.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.0001535/0.8555, allocations: 104 kB / 0.9591 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.8557, allocations: 59.02 kB / 0.9592 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8557, allocations: 0 / 0.9592 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-05/0.8558, allocations: 30.94 kB / 0.9592 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.8561, allocations: 10.16 kB / 0.9592 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.8564, allocations: 155.5 kB / 0.9594 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.8566, allocations: 0.6789 MB / 0.96 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.8566, allocations: 14.33 kB / 0.9601 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8566, allocations: 0 / 0.9601 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of Templates: time 0.002515/0.8592, allocations: 0.7905 MB / 0.9608 GB, free: 2.336 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.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.Examples.FallingFactorialCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.FallingFactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.FallingFactorialCalcHelperMain.o] Error 1