Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008374/0.0008373, allocations: 102 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.0009148/0.000915, allocations: 172.8 kB / 16.58 MB, free: 6.086 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.528/1.528, allocations: 223.3 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.563/2.563, allocations: 390.4 MB / 0.6662 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7018/0.7021, allocations: 142.3 MB / 0.9544 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.000848/0.703, allocations: 314.8 kB / 0.9547 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002267/0.7033, allocations: 40.59 kB / 0.9548 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.064e-05/0.7033, allocations: 0 / 0.9548 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.7033, allocations: 0 / 0.9548 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.7033, allocations: 4 kB / 0.9548 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.7036, allocations: 9.547 kB / 0.9548 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.717e-05/0.7037, allocations: 5.219 kB / 0.9548 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.7038, allocations: 0 / 0.9548 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.954e-05/0.7038, allocations: 6.125 kB / 0.9548 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.7038, allocations: 1.219 kB / 0.9548 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.7039, allocations: 0 / 0.9548 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.016e-05/0.7039, allocations: 20.03 kB / 0.9548 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.704, allocations: 0 / 0.9548 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.704, allocations: 25.7 kB / 0.9548 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.144e-05/0.7041, allocations: 21.91 kB / 0.9549 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7041, allocations: 0 / 0.9549 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7041, allocations: 0 / 0.9549 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.7041, allocations: 0 / 0.9549 GB, free: 7.727 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002354/0.7043, allocations: 307.7 kB / 0.9551 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.7044, allocations: 9.375 kB / 0.9552 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.7044, allocations: 5.078 kB / 0.9552 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.305e-05/0.7045, allocations: 159.1 kB / 0.9553 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.7045, allocations: 3.984 kB / 0.9553 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.7045, allocations: 1.188 kB / 0.9553 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.13e-05/0.7046, allocations: 35.3 kB / 0.9553 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.7046, allocations: 1.219 kB / 0.9553 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.7046, allocations: 0 / 0.9553 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.7046, allocations: 0 / 0.9553 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.081e-05/0.7047, allocations: 5.484 kB / 0.9554 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.7048, allocations: 147.7 kB / 0.9555 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.561e-05/0.7048, allocations: 19.75 kB / 0.9555 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.7048, allocations: 15.05 kB / 0.9555 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.7049, allocations: 0.9062 kB / 0.9555 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.7049, allocations: 31.56 kB / 0.9556 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.7049, allocations: 1.219 kB / 0.9556 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.7051, allocations: 33.89 kB / 0.9556 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.7051, allocations: 52.44 kB / 0.9556 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.423e-05/0.7051, allocations: 89.86 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.7051, allocations: 30.67 kB / 0.9558 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.313e-05/0.7052, allocations: 84.27 kB / 0.9558 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.7052, allocations: 9.047 kB / 0.9558 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.7052, allocations: 0 / 0.9558 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.519e-05/0.7053, allocations: 322.7 kB / 0.9562 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-06/0.7053, allocations: 1.031 kB / 0.9562 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.7053, allocations: 2.312 kB / 0.9562 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.749e-05/0.7053, allocations: 0.9375 kB / 0.9562 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7053, allocations: 0 / 0.9562 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.609e-05/0.7054, allocations: 36.33 kB / 0.9562 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.7054, allocations: 4.125 kB / 0.9562 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7054, allocations: 1.062 kB / 0.9562 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.7054, allocations: 7.922 kB / 0.9562 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.7055, allocations: 2.312 kB / 0.9562 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7055, allocations: 0 / 0.9562 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.242e-05/0.7055, allocations: 1 kB / 0.9562 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.7055, allocations: 0.9688 kB / 0.9562 GB, free: 6.172 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.2e-05/0.7056, allocations: 110.9 kB / 0.9563 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-06/0.7056, allocations: 5.188 kB / 0.9563 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.7057, allocations: 42.88 kB / 0.9564 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.7057, allocations: 0 / 0.9564 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7057, allocations: 0.8438 kB / 0.9564 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7057, allocations: 0 / 0.9564 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.504e-05/0.7058, allocations: 146.7 kB / 0.9565 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.7058, allocations: 4.938 kB / 0.9565 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.805e-05/0.7058, allocations: 9.422 kB / 0.9565 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7058, allocations: 1.219 kB / 0.9565 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.7058, allocations: 0 / 0.9565 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.7058, allocations: 5.375 kB / 0.9565 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7058, allocations: 0 / 0.9565 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.386e-05/0.7059, allocations: 59.59 kB / 0.9566 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.7059, allocations: 81.09 kB / 0.9567 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.7059, allocations: 5.391 kB / 0.9567 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.104e-05/0.706, allocations: 4.031 kB / 0.9567 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.706, allocations: 1.281 kB / 0.9567 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.706, allocations: 1.188 kB / 0.9567 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.529e-05/0.706, allocations: 75.28 kB / 0.9567 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.706, allocations: 0 / 0.9567 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002064/0.7062, allocations: 8.469 kB / 0.9567 GB, free: 5.547 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001495/0.7064, allocations: 108.2 kB / 0.9569 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.174e-05/0.7064, allocations: 16.92 kB / 0.9569 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7065, allocations: 0 / 0.9569 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.115e-06/0.7065, allocations: 5.562 kB / 0.9569 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.7066, allocations: 7.859 kB / 0.9569 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.7068, allocations: 93.81 kB / 0.957 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.7069, allocations: 0.6742 MB / 0.9576 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.707, allocations: 9.125 kB / 0.9576 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.707, allocations: 4.125 kB / 0.9576 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of Templates: time 0.00177/0.7088, allocations: 437.4 kB / 0.9581 GB, free: 4.402 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.PolynomialCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.PolynomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.PolynomialCalcHelperMain.o] Error 1