Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007767/0.0007764, 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.0008512/0.0008512, allocations: 175.7 kB / 16.58 MB, free: 6.879 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.456/1.456, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9951/0.9951, allocations: 135.3 MB / 427 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003761, allocations: 8 kB / 0.5076 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2192, allocations: 82.31 MB / 0.588 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002553/0.2218, allocations: 1.239 MB / 0.5892 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005524/0.2224, allocations: 116.5 kB / 0.5893 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.2225, allocations: 0 / 0.5893 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.2227, allocations: 3.938 kB / 0.5893 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.097e-05/0.2227, allocations: 11.88 kB / 0.5893 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.223, allocations: 23.97 kB / 0.5893 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.2231, allocations: 47.84 kB / 0.5894 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.2233, allocations: 27.95 kB / 0.5894 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.581e-05/0.2234, allocations: 19.92 kB / 0.5894 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.17e-05/0.2235, allocations: 23.91 kB / 0.5895 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2235, allocations: 0 / 0.5895 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-05/0.2236, allocations: 12 kB / 0.5895 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.2236, allocations: 11.92 kB / 0.5895 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.2237, allocations: 29.7 kB / 0.5895 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.2238, allocations: 39.86 kB / 0.5895 GB, free: 1.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2239, allocations: 0 / 0.5895 GB, free: 1.484 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.461e-06/0.2239, allocations: 8 kB / 0.5896 GB, free: 1.477 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.2239, allocations: 0 / 0.5896 GB, free: 1.477 MB / 494.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.0006456/0.2245, allocations: 379.4 kB / 0.5899 GB, free: 1.059 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.2246, allocations: 12.03 kB / 0.5899 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.2247, allocations: 7.906 kB / 0.5899 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.2249, allocations: 190.9 kB / 0.5901 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2249, allocations: 4 kB / 0.5901 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.2249, allocations: 0 / 0.5901 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.2253, allocations: 93.64 kB / 0.5902 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2253, allocations: 4 kB / 0.5902 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.2254, allocations: 8 kB / 0.5902 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2254, allocations: 0 / 0.5902 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.2258, allocations: 103.8 kB / 0.5903 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007336/0.2266, allocations: 336.7 kB / 0.5906 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.2268, allocations: 70.56 kB / 0.5907 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.2271, allocations: 56.86 kB / 0.5908 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.408e-05/0.2271, allocations: 4 kB / 0.5908 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.2272, allocations: 34.55 kB / 0.5908 GB, free: 36 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.2272, allocations: 0 / 0.5908 GB, free: 36 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007386/0.2279, allocations: 169.5 kB / 0.591 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.228, allocations: 55.41 kB / 0.591 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.2281, allocations: 117.8 kB / 0.5911 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.2281, allocations: 25.7 kB / 0.5911 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.2282, allocations: 104 kB / 0.5912 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.2283, allocations: 15.75 kB / 0.5913 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.2283, allocations: 0 / 0.5913 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2284, allocations: 314.8 kB / 0.5916 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.2286, allocations: 47.95 kB / 0.5916 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.2288, allocations: 47.95 kB / 0.5917 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.229, allocations: 44.25 kB / 0.5917 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.229, allocations: 0 / 0.5917 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004035/0.2294, allocations: 125.6 kB / 0.5918 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.2295, allocations: 8 kB / 0.5918 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2295, allocations: 0 / 0.5918 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2295, allocations: 3.953 kB / 0.5918 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.2297, allocations: 19.98 kB / 0.5918 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2297, allocations: 3.938 kB / 0.5918 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.296e-05/0.2298, allocations: 19.98 kB / 0.5919 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.2298, allocations: 7.984 kB / 0.5919 GB, free: 14.88 MB / 0.4981 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 (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 0.0001038/0.23, allocations: 109.8 kB / 0.592 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.23, allocations: 7.906 kB / 0.592 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004991/0.2305, allocations: 137.5 kB / 0.5921 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.2305, allocations: 3.953 kB / 0.5921 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2305, allocations: 0 / 0.5921 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2306, allocations: 4 kB / 0.5921 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.2308, allocations: 177.6 kB / 0.5923 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.2308, allocations: 4 kB / 0.5923 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.2309, allocations: 23.92 kB / 0.5923 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.231, allocations: 0 / 0.5923 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.231, allocations: 0 / 0.5923 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.231, allocations: 3.938 kB / 0.5923 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.231, allocations: 3.953 kB / 0.5923 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.2315, allocations: 227.4 kB / 0.5925 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.2315, allocations: 77.11 kB / 0.5926 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.2316, allocations: 4 kB / 0.5926 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.2317, allocations: 19.97 kB / 0.5926 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.2318, allocations: 4 kB / 0.5926 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.2318, allocations: 3.953 kB / 0.5927 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.632e-05/0.2319, allocations: 96.91 kB / 0.5927 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2319, allocations: 0 / 0.5927 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003546/0.2322, allocations: 15.94 kB / 0.5928 GB, free: 13.86 MB / 0.4981 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 (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.0001878/0.2324, allocations: 99.23 kB / 0.5929 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004531/0.2329, allocations: 103.8 kB / 0.593 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2329, allocations: 0 / 0.593 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.2331, allocations: 51.97 kB / 0.593 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.2336, allocations: 11.92 kB / 0.593 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.2341, allocations: 186.5 kB / 0.5932 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.2344, allocations: 0.6965 MB / 0.5939 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.2345, allocations: 15.38 kB / 0.5939 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.2345, allocations: 0 / 0.5939 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.00337/0.2379, allocations: 0.9118 MB / 0.5948 GB, free: 11.73 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Utilities.Math.Examples.AverageCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.AverageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.AverageCalcHelperMain.o] Error 1