Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.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.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009318/0.0009319, allocations: 102.5 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.001037/0.001037, allocations: 178.6 kB / 16.58 MB, free: 6.859 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.2 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.644/2.644, allocations: 390.4 MB / 0.6662 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 16 kB / 0.8154 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9082/0.9086, allocations: 142.3 MB / 0.9544 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0008513/0.9095, allocations: 318.5 kB / 0.9547 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003707/0.9099, allocations: 105.8 kB / 0.9548 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.86e-05/0.9099, allocations: 4 kB / 0.9548 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.9099, allocations: 0.7188 kB / 0.9548 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.303e-06/0.91, allocations: 0 / 0.9548 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.9103, allocations: 28.5 kB / 0.9549 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.9104, allocations: 55.39 kB / 0.9549 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.9105, allocations: 0 / 0.9549 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.9105, allocations: 25.75 kB / 0.9549 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.9106, allocations: 25.38 kB / 0.955 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.9106, allocations: 3 kB / 0.955 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.9107, allocations: 48.98 kB / 0.955 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.9108, allocations: 21 kB / 0.955 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.9108, allocations: 37.45 kB / 0.9551 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.9109, allocations: 37.59 kB / 0.9551 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.9109, allocations: 0.75 kB / 0.9551 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.973e-06/0.911, allocations: 0 / 0.9551 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.911, allocations: 1.062 kB / 0.9551 GB, free: 7.871 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.000423/0.9114, allocations: 355.7 kB / 0.9554 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.9114, allocations: 8.375 kB / 0.9554 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.9115, allocations: 9.203 kB / 0.9555 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.436e-05/0.9116, allocations: 166.7 kB / 0.9556 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.9118, allocations: 282.1 kB / 0.9559 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.9118, allocations: 3.812 kB / 0.9559 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.912, allocations: 84.44 kB / 0.956 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.9121, allocations: 1.406 kB / 0.956 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.9121, allocations: 0 / 0.956 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.9121, allocations: 5.375 kB / 0.956 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.9124, allocations: 136.1 kB / 0.9561 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.9126, allocations: 175.1 kB / 0.9563 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.9129, allocations: 98.7 kB / 0.9564 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.913, allocations: 41.33 kB / 0.9564 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.9131, allocations: 5.125 kB / 0.9564 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.9131, allocations: 36.53 kB / 0.9564 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.9131, allocations: 0 / 0.9564 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005051/0.9136, allocations: 147.3 kB / 0.9566 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.9137, allocations: 52.41 kB / 0.9566 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.539e-05/0.9137, allocations: 93.86 kB / 0.9567 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.9137, allocations: 26.8 kB / 0.9567 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.626e-05/0.9137, allocations: 84.27 kB / 0.9568 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.9138, allocations: 45.09 kB / 0.9569 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.9138, allocations: 0 / 0.9569 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.052e-05/0.9139, allocations: 316.4 kB / 0.9572 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.914, allocations: 34.66 kB / 0.9572 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.9141, allocations: 33.97 kB / 0.9572 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.9143, allocations: 36.33 kB / 0.9573 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9143, allocations: 0 / 0.9573 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003022/0.9146, allocations: 112.9 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.9146, allocations: 5.375 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.9146, allocations: 0 / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.9146, allocations: 5.016 kB / 0.9574 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.9148, allocations: 21.36 kB / 0.9574 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.9148, allocations: 1.188 kB / 0.9574 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.9149, allocations: 3.625 kB / 0.9574 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.9149, allocations: 10.02 kB / 0.9574 GB, free: 5.648 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: 1 (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 6.812e-05/0.9149, allocations: 126.2 kB / 0.9575 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.915, allocations: 6.312 kB / 0.9576 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.026e-05/0.915, allocations: 13.17 kB / 0.9576 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.915, allocations: 1.188 kB / 0.9576 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.915, allocations: 0 / 0.9576 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.915, allocations: 1.156 kB / 0.9576 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.9151, allocations: 178.7 kB / 0.9577 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.9151, allocations: 1.156 kB / 0.9577 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.9153, allocations: 22.08 kB / 0.9578 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.9153, allocations: 4 kB / 0.9578 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.9153, allocations: 8.859 kB / 0.9578 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.9153, allocations: 0.9688 kB / 0.9578 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.9153, allocations: 9.297 kB / 0.9578 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.9157, allocations: 152 kB / 0.9579 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.9157, allocations: 83.8 kB / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.9157, allocations: 1.438 kB / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-05/0.9158, allocations: 6.844 kB / 0.958 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.9158, allocations: 17 kB / 0.958 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.9158, allocations: 2.281 kB / 0.958 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.675e-05/0.9159, allocations: 76.44 kB / 0.9581 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9159, allocations: 0 / 0.9581 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002312/0.9161, allocations: 25.06 kB / 0.9581 GB, free: 4.953 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: 1 (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.0001814/0.9163, allocations: 120.2 kB / 0.9582 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.9166, allocations: 86.56 kB / 0.9583 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9166, allocations: 1.219 kB / 0.9583 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.9168, allocations: 52.36 kB / 0.9584 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.9169, allocations: 15.25 kB / 0.9584 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.9173, allocations: 193.5 kB / 0.9586 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.9174, allocations: 0.683 MB / 0.9592 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.9175, allocations: 23.39 kB / 0.9593 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.9175, allocations: 0 / 0.9593 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of Templates: time 0.003169/0.9207, allocations: 1.309 MB / 0.9605 GB, free: 3.234 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.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.BinomialCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.BinomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.BinomialCalcHelperMain.o] Error 1