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.001449/0.001449, allocations: 88.08 kB / 16.67 MB, free: 6.59 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.001845/0.001846, allocations: 179 kB / 17.57 MB, free: 6.191 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.009/2.009, allocations: 205.4 MB / 223.8 MB, free: 13.09 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.28/0.28, allocations: 43.59 MB / 315.6 MB, free: 0.5039 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.0005598/0.0005598, allocations: 18.58 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1518, allocations: 58.87 MB / 444.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.002239/0.1541, allocations: 1.913 MB / 446 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1552, allocations: 0.78 MB / 446.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.1553, allocations: 7.938 kB / 446.8 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.1555, allocations: 19.78 kB / 446.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1557, allocations: 43.64 kB / 446.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1559, allocations: 131.8 kB / 447 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.1562, allocations: 331 kB / 447.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.1565, allocations: 124.2 kB / 447.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1566, allocations: 99.48 kB / 447.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.1568, allocations: 119.3 kB / 447.6 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.1568, allocations: 11.94 kB / 447.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.81e-05/0.1569, allocations: 12 kB / 447.7 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.1569, allocations: 55.69 kB / 447.7 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.1571, allocations: 148.9 kB / 447.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1573, allocations: 247.4 kB / 448.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1573, allocations: 4 kB / 448.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1573, allocations: 0 / 448.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1573, allocations: 0 / 448.1 MB, free: 1.211 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.0008744/0.1582, allocations: 0.556 MB / 448.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1583, allocations: 8.031 kB / 448.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.089e-05/0.1583, allocations: 36.56 kB / 448.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.1588, allocations: 335.1 kB / 449 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1588, allocations: 24.94 kB / 449.1 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.1589, allocations: 28.38 kB / 449.1 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.1594, allocations: 265 kB / 449.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1594, allocations: 7.938 kB / 449.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.1595, allocations: 15.98 kB / 449.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1595, allocations: 4 kB / 449.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.16, allocations: 194.1 kB / 449.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.1614, allocations: 0.795 MB / 450.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.1619, allocations: 210.8 kB / 450.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.1621, allocations: 97.69 kB / 450.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.1621, allocations: 4 kB / 450.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004506/0.1626, allocations: 247 kB / 450.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 5.48e-06/0.1626, allocations: 0 / 450.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.0008826/0.1635, allocations: 397 kB / 451.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.1636, allocations: 55.41 kB / 451.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.1638, allocations: 229 kB / 451.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.1639, allocations: 45.69 kB / 451.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.164, allocations: 168.5 kB / 451.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.1641, allocations: 98.64 kB / 451.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.1642, allocations: 37.7 kB / 451.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.1644, allocations: 338.8 kB / 452.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.1646, allocations: 96.69 kB / 452.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.165, allocations: 234.4 kB / 452.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/0.1656, allocations: 360.7 kB / 452.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1656, allocations: 0 / 452.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007169/0.1663, allocations: 389.1 kB / 453.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.1663, allocations: 5.719 kB / 453.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.1664, allocations: 11.92 kB / 453.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.1664, allocations: 8 kB / 453.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.1667, allocations: 71.84 kB / 453.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.1668, allocations: 12.11 kB / 453.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.167, allocations: 43.69 kB / 453.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.167, allocations: 15.98 kB / 453.5 MB, free: 11.5 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.0002275/0.1672, allocations: 169.5 kB / 453.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.1673, allocations: 23.72 kB / 453.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007215/0.168, allocations: 335.4 kB / 454 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.168, allocations: 4.094 kB / 454 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.168, allocations: 3.938 kB / 454 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.168, allocations: 4 kB / 454 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.1692, allocations: 0.7206 MB / 454.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1692, allocations: 0 / 454.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.1695, allocations: 55.91 kB / 454.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1695, allocations: 0 / 454.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.1695, allocations: 11.98 kB / 454.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1695, allocations: 4 kB / 454.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1695, allocations: 0 / 454.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00093/0.1705, allocations: 0.5457 MB / 455.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.1706, allocations: 100.8 kB / 455.4 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.1706, allocations: 16.19 kB / 455.4 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.1708, allocations: 19.98 kB / 455.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/0.1709, allocations: 23.91 kB / 455.5 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.1709, allocations: 15.98 kB / 455.5 MB, free: 9.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.1711, allocations: 168.5 kB / 455.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1711, allocations: 0 / 455.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003567/0.1715, allocations: 71.69 kB / 455.7 MB, free: 9.125 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.0001617/0.1716, allocations: 111.2 kB / 455.8 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005649/0.1722, allocations: 276.4 kB / 456.1 MB, free: 8.738 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1722, allocations: 4.062 kB / 456.1 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.1725, allocations: 139.8 kB / 456.3 MB, free: 8.598 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.1729, allocations: 34.42 kB / 456.3 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1742, allocations: 0.7497 MB / 457 MB, free: 7.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.1747, allocations: 0.7803 MB / 457.8 MB, free: 6.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1748, allocations: 35.42 kB / 457.9 MB, free: 6.945 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1748, allocations: 0 / 457.9 MB, free: 6.945 MB / 334.1 MB Notification: Performance of Templates: time 0.006233/0.181, allocations: 3.508 MB / 461.4 MB, free: 3.434 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