Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0007637/0.0007638, allocations: 91.52 kB / 16.33 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008749/0.0008751, allocations: 180.8 kB / 17.22 MB, free: 6.285 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.488/1.488, allocations: 223.3 MB / 241.2 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8194/0.8194, allocations: 114.3 MB / 406.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003866, allocations: 9.969 kB / 494.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2005, allocations: 77.28 MB / 0.5583 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.0008742/0.2014, allocations: 295.1 kB / 0.5586 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002349/0.2017, allocations: 27.92 kB / 0.5586 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.328e-05/0.2017, allocations: 0 / 0.5586 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.2017, allocations: 0 / 0.5586 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.274e-06/0.2017, allocations: 3.938 kB / 0.5586 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.202, allocations: 23.97 kB / 0.5587 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.2021, allocations: 0 / 0.5587 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.2022, allocations: 0 / 0.5587 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.88e-05/0.2022, allocations: 4 kB / 0.5587 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.2023, allocations: 0 / 0.5587 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.2023, allocations: 4 kB / 0.5587 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.259e-05/0.2024, allocations: 15.98 kB / 0.5587 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-06/0.2024, allocations: 3.938 kB / 0.5587 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.2024, allocations: 25.7 kB / 0.5587 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.773e-05/0.2025, allocations: 7.984 kB / 0.5587 GB, free: 10.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.2025, allocations: 4 kB / 0.5587 GB, free: 10.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.2025, allocations: 0 / 0.5587 GB, free: 10.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.2025, allocations: 0 / 0.5587 GB, free: 10.5 MB / 430.1 MB 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.0003006/0.2028, allocations: 311.4 kB / 0.559 GB, free: 10.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.2029, allocations: 24.02 kB / 0.5591 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.2029, allocations: 0 / 0.5591 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.436e-05/0.203, allocations: 159.1 kB / 0.5592 GB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.2031, allocations: 0 / 0.5592 GB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.2031, allocations: 0 / 0.5592 GB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.416e-05/0.2032, allocations: 33.69 kB / 0.5592 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2032, allocations: 3.953 kB / 0.5592 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.2032, allocations: 0 / 0.5592 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2032, allocations: 0 / 0.5592 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.2032, allocations: 3.938 kB / 0.5592 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.2034, allocations: 153.7 kB / 0.5594 GB, free: 9.688 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.957e-05/0.2034, allocations: 14.58 kB / 0.5594 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.2034, allocations: 4.859 kB / 0.5594 GB, free: 9.656 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.2035, allocations: 4.094 kB / 0.5594 GB, free: 9.652 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.2035, allocations: 38.55 kB / 0.5595 GB, free: 9.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.2035, allocations: 0 / 0.5595 GB, free: 9.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.2037, allocations: 45.59 kB / 0.5595 GB, free: 9.555 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2037, allocations: 55.41 kB / 0.5595 GB, free: 9.488 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.268e-05/0.2037, allocations: 89.86 kB / 0.5596 GB, free: 9.391 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2038, allocations: 29.64 kB / 0.5597 GB, free: 9.355 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.2038, allocations: 80.14 kB / 0.5597 GB, free: 9.273 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.2038, allocations: 0 / 0.5597 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-06/0.2038, allocations: 0 / 0.5597 GB, free: 9.273 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2039, allocations: 310.8 kB / 0.56 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.204, allocations: 4.125 kB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-06/0.204, allocations: 7.984 kB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.636e-05/0.204, allocations: 0 / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.204, allocations: 0 / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.336e-05/0.2041, allocations: 41.64 kB / 0.5601 GB, free: 8.902 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2041, allocations: 4 kB / 0.5601 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.2041, allocations: 0 / 0.5601 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2041, allocations: 0 / 0.5601 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.796e-05/0.2042, allocations: 4 kB / 0.5601 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2042, allocations: 3.953 kB / 0.5601 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.2042, allocations: 4.094 kB / 0.5601 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.2042, allocations: 3.984 kB / 0.5601 GB, free: 8.883 MB / 430.1 MB 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 6.627e-05/0.2043, allocations: 113.6 kB / 0.5602 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-06/0.2043, allocations: 0 / 0.5602 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.2044, allocations: 44.72 kB / 0.5603 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2044, allocations: 0 / 0.5603 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2044, allocations: 8.031 kB / 0.5603 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2044, allocations: 3.953 kB / 0.5603 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.244e-05/0.2045, allocations: 149.6 kB / 0.5604 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2045, allocations: 4 kB / 0.5604 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.2046, allocations: 3.938 kB / 0.5604 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2046, allocations: 7.984 kB / 0.5604 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.2046, allocations: 0 / 0.5604 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2046, allocations: 0 / 0.5604 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2046, allocations: 3.984 kB / 0.5604 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.049e-05/0.2047, allocations: 65.09 kB / 0.5605 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.2047, allocations: 77.11 kB / 0.5606 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.2047, allocations: 0 / 0.5606 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.017e-05/0.2047, allocations: 0 / 0.5606 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.2048, allocations: 3.984 kB / 0.5606 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.2048, allocations: 4 kB / 0.5606 GB, free: 8.305 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.157e-05/0.2048, allocations: 81.5 kB / 0.5607 GB, free: 8.227 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2048, allocations: 0 / 0.5607 GB, free: 8.227 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.205, allocations: 12.03 kB / 0.5607 GB, free: 8.215 MB / 430.1 MB 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.0001628/0.2052, allocations: 106.8 kB / 0.5608 GB, free: 8.102 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.992e-05/0.2053, allocations: 7.938 kB / 0.5608 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2053, allocations: 0 / 0.5608 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.372e-06/0.2053, allocations: 0 / 0.5608 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.2054, allocations: 4 kB / 0.5608 GB, free: 8.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001881/0.2056, allocations: 104.6 kB / 0.5609 GB, free: 7.957 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.2059, allocations: 0.6731 MB / 0.5615 GB, free: 7.258 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.2059, allocations: 11.44 kB / 0.5615 GB, free: 7.246 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2059, allocations: 0 / 0.5615 GB, free: 7.246 MB / 430.1 MB Notification: Performance of Templates: time 0.001661/0.2076, allocations: 439.6 kB / 0.562 GB, free: 6.816 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PolynomialCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PolynomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PolynomialCalcHelperMain.o] Error 1