Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, 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.001714/0.001714, allocations: 174.2 kB / 16.58 MB, free: 6.039 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.565/1.565, allocations: 223.2 MB / 240.6 MB, free: 5.465 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.529/2.529, allocations: 390.5 MB / 0.6662 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 16 kB / 0.8154 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9526/0.953, allocations: 142.3 MB / 0.9544 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001804/0.9548, allocations: 1.237 MB / 0.9556 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004411/0.9553, allocations: 178.5 kB / 0.9558 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.9554, allocations: 0 / 0.9558 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.9554, allocations: 1.594 kB / 0.9558 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.894e-05/0.9554, allocations: 0 / 0.9558 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.9557, allocations: 42.23 kB / 0.9558 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.972e-05/0.9558, allocations: 27.83 kB / 0.9559 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.9559, allocations: 16.94 kB / 0.9559 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.307e-05/0.9559, allocations: 13.44 kB / 0.9559 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.956, allocations: 17.05 kB / 0.9559 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.956, allocations: 1.344 kB / 0.9559 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.9561, allocations: 43.91 kB / 0.9559 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.9562, allocations: 5.031 kB / 0.9559 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.9562, allocations: 28.23 kB / 0.956 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.9563, allocations: 39.55 kB / 0.956 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.9563, allocations: 5.188 kB / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9563, allocations: 0 / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.9563, allocations: 0 / 0.956 GB, free: 6.801 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.0004322/0.9568, allocations: 354.7 kB / 0.9564 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.9568, allocations: 13.19 kB / 0.9564 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.9569, allocations: 10.11 kB / 0.9564 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.102e-05/0.957, allocations: 173.2 kB / 0.9565 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.957, allocations: 1.031 kB / 0.9565 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.957, allocations: 2.281 kB / 0.9565 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.9572, allocations: 72.28 kB / 0.9566 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.9572, allocations: 0 / 0.9566 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.9572, allocations: 7.922 kB / 0.9566 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.9572, allocations: 1.344 kB / 0.9566 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.9574, allocations: 57.28 kB / 0.9567 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.9578, allocations: 275.8 kB / 0.9569 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.9581, allocations: 63.81 kB / 0.957 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.682e-05/0.9582, allocations: 38.05 kB / 0.957 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.9584, allocations: 165.9 kB / 0.9572 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.9584, allocations: 35.52 kB / 0.9572 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.9584, allocations: 3.938 kB / 0.9572 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003816/0.9588, allocations: 116.8 kB / 0.9573 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.9588, allocations: 52.5 kB / 0.9574 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.283e-05/0.9589, allocations: 111.7 kB / 0.9575 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.9589, allocations: 25.7 kB / 0.9575 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.959, allocations: 85.58 kB / 0.9576 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.959, allocations: 13 kB / 0.9576 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.959, allocations: 5.125 kB / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.656e-05/0.9591, allocations: 312 kB / 0.9579 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.9592, allocations: 27.5 kB / 0.9579 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.9592, allocations: 23.17 kB / 0.958 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.902e-05/0.9593, allocations: 28.66 kB / 0.958 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9593, allocations: 3.938 kB / 0.958 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001999/0.9595, allocations: 90.19 kB / 0.9581 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.9596, allocations: 5.375 kB / 0.9581 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.9596, allocations: 3.953 kB / 0.9581 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.9596, allocations: 0 / 0.9581 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.9597, allocations: 14.3 kB / 0.9581 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.9597, allocations: 7.938 kB / 0.9581 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.9598, allocations: 14.77 kB / 0.9581 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.9598, allocations: 1.031 kB / 0.9581 GB, free: 4.715 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,bin.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 5.944e-05/0.9598, allocations: 116.2 kB / 0.9582 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.9599, allocations: 2.812 kB / 0.9582 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.9601, allocations: 92.67 kB / 0.9583 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.9601, allocations: 9.141 kB / 0.9583 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9601, allocations: 0 / 0.9583 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9601, allocations: 0 / 0.9583 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.9603, allocations: 165.9 kB / 0.9585 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9603, allocations: 0 / 0.9585 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.9604, allocations: 13.95 kB / 0.9585 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.9604, allocations: 1.75 kB / 0.9585 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.9604, allocations: 0 / 0.9585 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.9604, allocations: 3.984 kB / 0.9585 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.9604, allocations: 5.359 kB / 0.9585 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.9606, allocations: 196.3 kB / 0.9587 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.9607, allocations: 78.23 kB / 0.9588 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.9607, allocations: 0.8125 kB / 0.9588 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.9608, allocations: 14.14 kB / 0.9588 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.9608, allocations: 10.91 kB / 0.9588 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.9609, allocations: 0.9375 kB / 0.9588 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.778e-05/0.9609, allocations: 87.59 kB / 0.9589 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9609, allocations: 0 / 0.9589 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002361/0.9611, allocations: 20.55 kB / 0.9589 GB, free: 3.938 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,bin.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.0001769/0.9613, allocations: 105.7 kB / 0.959 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.9615, allocations: 63.16 kB / 0.9591 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.9616, allocations: 0 / 0.9591 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.638e-05/0.9617, allocations: 31.83 kB / 0.9591 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.9619, allocations: 10.38 kB / 0.9591 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.9622, allocations: 154 kB / 0.9593 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.9624, allocations: 0.6807 MB / 0.9599 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.9624, allocations: 9.969 kB / 0.9599 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9624, allocations: 0 / 0.9599 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of Templates: time 0.002622/0.965, allocations: 0.963 MB / 0.9609 GB, free: 2.453 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.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.Examples.BinomialCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.BinomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.BinomialCalcHelperMain.o] Error 1