Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean") translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 107.2 kB / 16.52 MB, free: 6.711 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.001806/0.001806, allocations: 195.7 kB / 17.44 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.533/2.533, allocations: 205.1 MB / 223.3 MB, free: 12.54 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3215/0.3215, allocations: 43.52 MB / 314.1 MB, free: 0.7773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003167/0.003166, allocations: 63.02 kB / 382.7 MB, free: 57.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2206, allocations: 57.79 MB / 440.5 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.004226/0.225, allocations: 2.279 MB / 442.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.2263, allocations: 0.7917 MB / 443.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.2265, allocations: 11.88 kB / 443.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.2267, allocations: 19.78 kB / 443.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.227, allocations: 43.64 kB / 443.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.2273, allocations: 127.8 kB / 443.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.2277, allocations: 331 kB / 444.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/0.228, allocations: 124.4 kB / 444.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.2282, allocations: 123.5 kB / 444.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.2284, allocations: 139.3 kB / 444.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.614e-05/0.2285, allocations: 16 kB / 444.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.274e-05/0.2285, allocations: 16 kB / 444.5 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/0.2286, allocations: 63.69 kB / 444.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.2288, allocations: 147.1 kB / 444.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.2291, allocations: 255.5 kB / 444.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.2291, allocations: 0 / 444.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2291, allocations: 0 / 444.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.2291, allocations: 0 / 444.9 MB, free: 3.062 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001242/0.2304, allocations: 0.6066 MB / 445.5 MB, free: 2.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.2304, allocations: 12.03 kB / 445.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.912e-05/0.2305, allocations: 36.56 kB / 445.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.2311, allocations: 331.2 kB / 445.9 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.2311, allocations: 24.92 kB / 445.9 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-05/0.2312, allocations: 36.28 kB / 446 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.2317, allocations: 253 kB / 446.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.2317, allocations: 0 / 446.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.2318, allocations: 15.98 kB / 446.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2318, allocations: 8 kB / 446.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.2322, allocations: 186.1 kB / 446.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.2335, allocations: 0.7795 MB / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.2339, allocations: 210.8 kB / 447.4 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.2341, allocations: 93.69 kB / 447.5 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.2341, allocations: 15.92 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004121/0.2345, allocations: 227 kB / 447.7 MB, free: 96 kB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.433e-06/0.2346, allocations: 4 kB / 447.7 MB, free: 92 kB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.0009406/0.2355, allocations: 373.2 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.811e-05/0.2356, allocations: 63.28 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.2359, allocations: 233 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.236, allocations: 37.7 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.2362, allocations: 164.6 kB / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.2363, allocations: 106.5 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.2364, allocations: 70.06 kB / 448.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002601/0.2367, allocations: 334.8 kB / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.2369, allocations: 92.69 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/0.2373, allocations: 226.4 kB / 449.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006258/0.2379, allocations: 344.8 kB / 449.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.238, allocations: 0 / 449.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007657/0.2387, allocations: 369.2 kB / 450.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.2388, allocations: 4 kB / 450.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.2388, allocations: 11.94 kB / 450.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.2388, allocations: 4.094 kB / 450.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.2391, allocations: 83.77 kB / 450.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.2392, allocations: 11.98 kB / 450.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.2393, allocations: 27.84 kB / 450.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.2394, allocations: 12 kB / 450.2 MB, free: 13.39 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y,$PRE.mean.y,rectifiedMean.mean.y,$PRE.rectifiedMean.mean.y,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y,harmonic.mean2.y,$PRE.harmonic.mean2.y,harmonic.mean1.y,$PRE.harmonic.mean1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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 0.0002479/0.2396, allocations: 181.6 kB / 450.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.2397, allocations: 31.62 kB / 450.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007443/0.2404, allocations: 319.4 kB / 450.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2405, allocations: 4 kB / 450.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2405, allocations: 4 kB / 450.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2405, allocations: 0 / 450.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.2416, allocations: 0.705 MB / 451.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2416, allocations: 7.984 kB / 451.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.2418, allocations: 47.91 kB / 451.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2419, allocations: 0 / 451.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.2419, allocations: 12 kB / 451.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2419, allocations: 0 / 451.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2419, allocations: 3.984 kB / 451.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.243, allocations: 0.5223 MB / 452.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.2431, allocations: 104.8 kB / 452.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.2431, allocations: 12.06 kB / 452.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.2433, allocations: 15.98 kB / 452.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.301e-05/0.2434, allocations: 23.97 kB / 452.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.2434, allocations: 11.98 kB / 452.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.2436, allocations: 168.5 kB / 452.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2436, allocations: 3.938 kB / 452.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.244, allocations: 67.75 kB / 452.5 MB, free: 11.06 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.x,rectifiedMean.mean.x,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y,rectifiedMean.mean.y,rootMeanSquare.mean.y,harmonic.mean1.y,harmonic.mean2.y) * Number of discrete states: 5 (harmonic.mean2.x,harmonic.mean1.x,rootMeanSquare.mean.x,rectifiedMean.mean.x,mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001907/0.2442, allocations: 115.2 kB / 452.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006153/0.2448, allocations: 259.5 kB / 452.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.2448, allocations: 4 kB / 452.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.2452, allocations: 132.8 kB / 453 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.2456, allocations: 36.36 kB / 453 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.247, allocations: 0.726 MB / 453.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.2476, allocations: 0.7766 MB / 454.5 MB, free: 8.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.2477, allocations: 35.42 kB / 454.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2477, allocations: 192 / 454.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of Templates: time 0.008737/0.2564, allocations: 3.557 MB / 458.1 MB, free: 5.363 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.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 OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.MeanCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.MeanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.MeanCalcHelperMain.o] Error 1