Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009804/0.0009804, allocations: 102.6 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.001468/0.001468, allocations: 176.2 kB / 16.58 MB, free: 6.402 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.408/1.408, 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/IDEAS 3.0.0/package.mo): time 0.7681/0.7681, allocations: 132.3 MB / 424 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 8 kB / 0.504 GB, free: 4.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.51, allocations: 81.58 MB / 0.5837 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.00203/0.512, allocations: 1.24 MB / 0.5849 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003837/0.5124, allocations: 104.1 kB / 0.585 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.5125, allocations: 1.406 kB / 0.585 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.5126, allocations: 5.906 kB / 0.585 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.302e-05/0.5127, allocations: 7.656 kB / 0.585 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.5129, allocations: 27.62 kB / 0.585 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.513, allocations: 49.83 kB / 0.5851 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.5132, allocations: 25.89 kB / 0.5851 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.213e-05/0.5132, allocations: 17.22 kB / 0.5851 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.919e-05/0.5133, allocations: 25.7 kB / 0.5851 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.5134, allocations: 2.406 kB / 0.5851 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-05/0.5134, allocations: 6.641 kB / 0.5851 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.5135, allocations: 11.73 kB / 0.5852 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.5135, allocations: 31.92 kB / 0.5852 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.5137, allocations: 37.12 kB / 0.5852 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.5137, allocations: 4 kB / 0.5852 GB, free: 2.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.5137, allocations: 4.562 kB / 0.5852 GB, free: 2.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.5137, allocations: 1.375 kB / 0.5852 GB, free: 2.871 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006201/0.5143, allocations: 386 kB / 0.5856 GB, free: 2.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.5144, allocations: 10.03 kB / 0.5856 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.5145, allocations: 11.2 kB / 0.5856 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.5147, allocations: 179.2 kB / 0.5858 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.5147, allocations: 6.625 kB / 0.5858 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.5147, allocations: 5.844 kB / 0.5858 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.5151, allocations: 95.28 kB / 0.5859 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.5151, allocations: 4 kB / 0.5859 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.5151, allocations: 1.75 kB / 0.5859 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5151, allocations: 1.125 kB / 0.5859 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003758/0.5155, allocations: 106 kB / 0.586 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/0.5162, allocations: 338.8 kB / 0.5863 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.5165, allocations: 72.38 kB / 0.5864 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.5167, allocations: 52.34 kB / 0.5864 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.5168, allocations: 10.36 kB / 0.5865 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.5168, allocations: 40.62 kB / 0.5865 GB, free: 1.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5168, allocations: 0 / 0.5865 GB, free: 1.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006008/0.5174, allocations: 171.5 kB / 0.5867 GB, free: 1.758 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.5175, allocations: 52.12 kB / 0.5867 GB, free: 1.695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.5176, allocations: 119.7 kB / 0.5868 GB, free: 1.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.5176, allocations: 26.61 kB / 0.5868 GB, free: 1.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.5176, allocations: 93.09 kB / 0.5869 GB, free: 1.465 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.5177, allocations: 18.23 kB / 0.587 GB, free: 1.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.5177, allocations: 4 kB / 0.587 GB, free: 1.445 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.96e-05/0.5178, allocations: 314.8 kB / 0.5873 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.5179, allocations: 43.25 kB / 0.5873 GB, free: 1.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.5181, allocations: 49.47 kB / 0.5873 GB, free: 1.117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.5182, allocations: 48.08 kB / 0.5874 GB, free: 1.109 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5182, allocations: 0 / 0.5874 GB, free: 1.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003523/0.5186, allocations: 125 kB / 0.5875 GB, free: 1.062 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.5186, allocations: 9.75 kB / 0.5875 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5186, allocations: 1 kB / 0.5875 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5187, allocations: 0 / 0.5875 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.5188, allocations: 21.34 kB / 0.5875 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5188, allocations: 0.6094 kB / 0.5875 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.9e-05/0.5189, allocations: 20.44 kB / 0.5876 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.5189, allocations: 2.469 kB / 0.5876 GB, free: 1.055 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 (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 7.883e-05/0.519, allocations: 115.3 kB / 0.5877 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.519, allocations: 6.188 kB / 0.5877 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.5194, allocations: 140.8 kB / 0.5878 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5195, allocations: 1.391 kB / 0.5878 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5195, allocations: 0.9688 kB / 0.5878 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5195, allocations: 0.5156 kB / 0.5878 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.5197, allocations: 185.6 kB / 0.588 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5197, allocations: 0.7188 kB / 0.588 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-05/0.5198, allocations: 21.03 kB / 0.588 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5198, allocations: 0.5625 kB / 0.588 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.5198, allocations: 0.6562 kB / 0.588 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.5198, allocations: 10.11 kB / 0.588 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5198, allocations: 0 / 0.588 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.5202, allocations: 229.3 kB / 0.5882 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.5202, allocations: 78.84 kB / 0.5883 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.5202, allocations: 2.203 kB / 0.5883 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.5204, allocations: 20.09 kB / 0.5883 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.5204, allocations: 9.094 kB / 0.5884 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.5204, allocations: 1.188 kB / 0.5884 GB, free: 408 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.24e-05/0.5205, allocations: 98.31 kB / 0.5884 GB, free: 320 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5205, allocations: 0 / 0.5884 GB, free: 320 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.5207, allocations: 14.44 kB / 0.5885 GB, free: 316 kB / 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 (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.0001487/0.5209, allocations: 94.94 kB / 0.5885 GB, free: 224 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003648/0.5212, allocations: 100.8 kB / 0.5886 GB, free: 208 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5212, allocations: 0 / 0.5886 GB, free: 208 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.5214, allocations: 55.73 kB / 0.5887 GB, free: 196 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.5217, allocations: 7.562 kB / 0.5887 GB, free: 192 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.5221, allocations: 190.3 kB / 0.5889 GB, free: 16 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.5224, allocations: 0.6924 MB / 0.5896 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.5225, allocations: 9.594 kB / 0.5896 GB, free: 15.31 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5225, allocations: 0 / 0.5896 GB, free: 15.31 MB / 446.1 MB Notification: Performance of Templates: time 0.003228/0.5257, allocations: 0.9229 MB / 0.5905 GB, free: 15.24 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.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.AverageCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.AverageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.AverageCalcHelperMain.o] Error 1