Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008532/0.0008533, allocations: 100.5 kB / 15.71 MB, free: 452 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.0009423/0.0009422, allocations: 175.4 kB / 16.58 MB, free: 6.422 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.444/1.444, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7999/0.7999, allocations: 132.3 MB / 424 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 8 kB / 0.504 GB, free: 4.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5169, allocations: 81.58 MB / 0.5837 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001557/0.5185, allocations: 1.154 MB / 0.5848 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002788/0.5188, allocations: 82.41 kB / 0.5849 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.5188, allocations: 0.6562 kB / 0.5849 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.308e-05/0.5189, allocations: 5.391 kB / 0.5849 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.605e-05/0.5189, allocations: 5.344 kB / 0.5849 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.5191, allocations: 16.86 kB / 0.5849 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.234e-05/0.5192, allocations: 23.28 kB / 0.5849 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.158e-05/0.5193, allocations: 4.609 kB / 0.5849 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.5194, allocations: 12.72 kB / 0.5849 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.909e-05/0.5194, allocations: 6.109 kB / 0.5849 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.5194, allocations: 1.688 kB / 0.5849 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.94e-05/0.5195, allocations: 23.88 kB / 0.585 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.5196, allocations: 2.859 kB / 0.585 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.5196, allocations: 30.98 kB / 0.585 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.952e-05/0.5197, allocations: 26.7 kB / 0.585 GB, free: 3.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5197, allocations: 0.6562 kB / 0.585 GB, free: 3.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5197, allocations: 4.688 kB / 0.585 GB, free: 3.238 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.5197, allocations: 0 / 0.585 GB, free: 3.238 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003475/0.5201, allocations: 343.7 kB / 0.5854 GB, free: 2.883 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5201, allocations: 9.531 kB / 0.5854 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.5201, allocations: 1.281 kB / 0.5854 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.79e-05/0.5202, allocations: 178.4 kB / 0.5855 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.5202, allocations: 5.812 kB / 0.5855 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.5203, allocations: 1.219 kB / 0.5856 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.5204, allocations: 54.67 kB / 0.5856 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.5205, allocations: 0 / 0.5856 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.5205, allocations: 0.625 kB / 0.5856 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.5205, allocations: 4.75 kB / 0.5856 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.5207, allocations: 49.5 kB / 0.5857 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.521, allocations: 255.6 kB / 0.5859 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.5211, allocations: 53.31 kB / 0.5859 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.5212, allocations: 30.34 kB / 0.586 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.5212, allocations: 6.641 kB / 0.586 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.5213, allocations: 31.53 kB / 0.586 GB, free: 2.254 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.5213, allocations: 0 / 0.586 GB, free: 2.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003537/0.5216, allocations: 108.3 kB / 0.5861 GB, free: 2.207 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.5217, allocations: 55.88 kB / 0.5862 GB, free: 2.141 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.5217, allocations: 109.5 kB / 0.5863 GB, free: 2.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.5217, allocations: 26.7 kB / 0.5863 GB, free: 2.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.5218, allocations: 86.36 kB / 0.5864 GB, free: 1.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.5218, allocations: 5.422 kB / 0.5864 GB, free: 1.914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.5218, allocations: 0 / 0.5864 GB, free: 1.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.5219, allocations: 313 kB / 0.5867 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.522, allocations: 24.97 kB / 0.5867 GB, free: 1.598 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.53e-05/0.522, allocations: 25.53 kB / 0.5867 GB, free: 1.594 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.139e-05/0.5221, allocations: 23.97 kB / 0.5868 GB, free: 1.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5221, allocations: 1.281 kB / 0.5868 GB, free: 1.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000194/0.5223, allocations: 80.12 kB / 0.5868 GB, free: 1.551 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5224, allocations: 4.219 kB / 0.5868 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5224, allocations: 0.9062 kB / 0.5868 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.5224, allocations: 2.047 kB / 0.5868 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.871e-05/0.5225, allocations: 19.19 kB / 0.5869 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5225, allocations: 4.031 kB / 0.5869 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.5225, allocations: 20.41 kB / 0.5869 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.5226, allocations: 4.656 kB / 0.5869 GB, free: 1.523 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 (2): * Single equations (assignments): 2 * 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.079e-05/0.5226, allocations: 109.5 kB / 0.587 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.5226, allocations: 1.594 kB / 0.587 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.5229, allocations: 89.28 kB / 0.5871 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5229, allocations: 1.188 kB / 0.5871 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5229, allocations: 0.5156 kB / 0.5871 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5229, allocations: 1.875 kB / 0.5871 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.523, allocations: 162 kB / 0.5872 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.523, allocations: 0 / 0.5872 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/0.5231, allocations: 15.84 kB / 0.5873 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5231, allocations: 7.969 kB / 0.5873 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.5231, allocations: 1.391 kB / 0.5873 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5231, allocations: 0 / 0.5873 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5231, allocations: 1.594 kB / 0.5873 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.5234, allocations: 179.2 kB / 0.5874 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.5234, allocations: 82.81 kB / 0.5875 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.5234, allocations: 1.125 kB / 0.5875 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.5235, allocations: 8.562 kB / 0.5875 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.5235, allocations: 3.297 kB / 0.5875 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.5236, allocations: 0.7031 kB / 0.5875 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.943e-05/0.5236, allocations: 86.7 kB / 0.5876 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5236, allocations: 4.031 kB / 0.5876 GB, free: 0.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.5238, allocations: 7.719 kB / 0.5876 GB, free: 0.832 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 (2): * Single equations (assignments): 2 * 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.000137/0.524, allocations: 101.7 kB / 0.5877 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.5242, allocations: 60.36 kB / 0.5878 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5242, allocations: 0.9375 kB / 0.5878 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/0.5243, allocations: 22.33 kB / 0.5878 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.5246, allocations: 10.53 kB / 0.5878 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.5248, allocations: 146.1 kB / 0.5879 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.525, allocations: 0.6781 MB / 0.5886 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.525, allocations: 9.688 kB / 0.5886 GB, free: 15.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.525, allocations: 0 / 0.5886 GB, free: 15.87 MB / 446.1 MB Notification: Performance of Templates: time 0.002304/0.5273, allocations: 0.66 MB / 0.5893 GB, free: 15.82 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.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 OMCppIDEAS_IDEAS.Utilities.Math.Examples.PolynomialCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.PolynomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.PolynomialCalcHelperMain.o] Error 1