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.001027/0.001027, allocations: 96.14 kB / 15.87 MB, free: 16 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.001426/0.001426, allocations: 191.2 kB / 16.79 MB, free: 6.812 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.331/1.331, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7109/0.7109, allocations: 132.2 MB / 422.8 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 60.75 kB / 0.5017 GB, free: 4.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3865, allocations: 80.2 MB / 0.58 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002359/0.3889, allocations: 1.587 MB / 0.5816 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003024/0.3892, allocations: 124.9 kB / 0.5817 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.3893, allocations: 0 / 0.5817 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.3894, allocations: 7.188 kB / 0.5817 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.84e-05/0.3895, allocations: 13.23 kB / 0.5817 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.3897, allocations: 22.09 kB / 0.5817 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.962e-05/0.3897, allocations: 50.44 kB / 0.5818 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3899, allocations: 23.8 kB / 0.5818 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.128e-05/0.3899, allocations: 22.09 kB / 0.5818 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.39, allocations: 31.12 kB / 0.5819 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.39, allocations: 3.844 kB / 0.5819 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.565e-05/0.3901, allocations: 14.44 kB / 0.5819 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.3901, allocations: 12.69 kB / 0.5819 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.3901, allocations: 23.86 kB / 0.5819 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.295e-05/0.3902, allocations: 38.59 kB / 0.5819 GB, free: 3.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3903, allocations: 0.9688 kB / 0.5819 GB, free: 3.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3903, allocations: 0 / 0.5819 GB, free: 3.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.3903, allocations: 0 / 0.5819 GB, free: 3.215 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.000451/0.3907, allocations: 381.8 kB / 0.5823 GB, free: 2.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3908, allocations: 9.625 kB / 0.5823 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.3908, allocations: 8.094 kB / 0.5823 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3909, allocations: 193 kB / 0.5825 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.391, allocations: 2.719 kB / 0.5825 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.391, allocations: 6.594 kB / 0.5825 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.3913, allocations: 86.64 kB / 0.5826 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3913, allocations: 8.172 kB / 0.5826 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3913, allocations: 8.969 kB / 0.5826 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3913, allocations: 1.062 kB / 0.5826 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.3916, allocations: 79.59 kB / 0.5827 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.3921, allocations: 329.1 kB / 0.583 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.3923, allocations: 57.77 kB / 0.5831 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.3924, allocations: 47.38 kB / 0.5831 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.3924, allocations: 6.188 kB / 0.5831 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.3925, allocations: 32.19 kB / 0.5831 GB, free: 2.152 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3925, allocations: 0 / 0.5831 GB, free: 2.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005272/0.393, allocations: 130.3 kB / 0.5833 GB, free: 2.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.691e-05/0.393, allocations: 56.73 kB / 0.5833 GB, free: 2.043 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.029e-05/0.3931, allocations: 127.2 kB / 0.5834 GB, free: 1.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.154e-06/0.3931, allocations: 26.8 kB / 0.5835 GB, free: 1.898 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.3931, allocations: 97.33 kB / 0.5836 GB, free: 1.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.3932, allocations: 10.59 kB / 0.5836 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.3932, allocations: 13.06 kB / 0.5836 GB, free: 1.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.576e-05/0.3932, allocations: 322.1 kB / 0.5839 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3934, allocations: 36.81 kB / 0.5839 GB, free: 1.453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.3935, allocations: 33.73 kB / 0.584 GB, free: 1.449 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.3938, allocations: 70.42 kB / 0.584 GB, free: 1.434 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3938, allocations: 4.656 kB / 0.584 GB, free: 1.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003009/0.3941, allocations: 110.5 kB / 0.5841 GB, free: 1.379 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3941, allocations: 6 kB / 0.5841 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.3941, allocations: 0 / 0.5841 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3942, allocations: 0.7031 kB / 0.5841 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3943, allocations: 19.56 kB / 0.5842 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3943, allocations: 1.219 kB / 0.5842 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.3944, allocations: 15.56 kB / 0.5842 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.3944, allocations: 2.25 kB / 0.5842 GB, free: 1.371 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/0.3944, allocations: 122.3 kB / 0.5843 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.3945, allocations: 7.031 kB / 0.5843 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.3948, allocations: 110.1 kB / 0.5844 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3948, allocations: 4.656 kB / 0.5844 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3949, allocations: 0.875 kB / 0.5844 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3949, allocations: 384 / 0.5844 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.395, allocations: 182.4 kB / 0.5846 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.395, allocations: 0.6562 kB / 0.5846 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.503e-05/0.3951, allocations: 20.25 kB / 0.5846 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3951, allocations: 1.312 kB / 0.5846 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3951, allocations: 0 / 0.5846 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3951, allocations: 0.5625 kB / 0.5846 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3951, allocations: 0.9375 kB / 0.5846 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.3955, allocations: 206.7 kB / 0.5848 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.3955, allocations: 82.67 kB / 0.5849 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.3955, allocations: 1.953 kB / 0.5849 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3956, allocations: 11.28 kB / 0.5849 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.3957, allocations: 8.812 kB / 0.5849 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3957, allocations: 0.9062 kB / 0.5849 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.24e-05/0.3957, allocations: 91.5 kB / 0.585 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3957, allocations: 0 / 0.585 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.3959, allocations: 9.469 kB / 0.585 GB, free: 0.6484 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001144/0.3961, allocations: 107.8 kB / 0.5851 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.3964, allocations: 78 kB / 0.5852 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3964, allocations: 3.938 kB / 0.5852 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.3966, allocations: 37.48 kB / 0.5852 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.3968, allocations: 7.969 kB / 0.5852 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.3971, allocations: 206.2 kB / 0.5854 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.3973, allocations: 0.6887 MB / 0.5861 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.3974, allocations: 9.531 kB / 0.5861 GB, free: 15.63 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3974, allocations: 0 / 0.5861 GB, free: 15.63 MB / 446.1 MB Notification: Performance of Templates: time 0.002268/0.3997, allocations: 0.9341 MB / 0.587 GB, free: 15.55 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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