Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean") translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000921/0.000921, allocations: 87.53 kB / 17.63 MB, free: 6.293 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.001213/0.001213, allocations: 180.5 kB / 18.52 MB, free: 5.445 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.514/1.514, allocations: 223.2 MB / 242.5 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2606/0.2606, allocations: 44.22 MB / 337.9 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003752, allocations: 23.92 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 61.92 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.002568/0.1458, allocations: 1.849 MB / 474 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1474, allocations: 0.7211 MB / 474.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.1476, allocations: 7.938 kB / 474.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.1478, allocations: 19.8 kB / 474.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.148, allocations: 39.62 kB / 474.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.1484, allocations: 115.8 kB / 474.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.1489, allocations: 327 kB / 475.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.1491, allocations: 94.61 kB / 475.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.1494, allocations: 103.5 kB / 475.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.1496, allocations: 131.3 kB / 475.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.1497, allocations: 12 kB / 475.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.881e-05/0.1497, allocations: 8 kB / 475.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.1498, allocations: 47.77 kB / 475.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.506e-05/0.1499, allocations: 81.52 kB / 475.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.1502, allocations: 255.7 kB / 476 MB, free: 9.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1502, allocations: 0 / 476 MB, free: 9.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1502, allocations: 4 kB / 476 MB, free: 9.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.1502, allocations: 0 / 476 MB, free: 9.898 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001179/0.1514, allocations: 0.5601 MB / 476.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1515, allocations: 16.03 kB / 476.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.1516, allocations: 35.62 kB / 476.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.1522, allocations: 329.9 kB / 476.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.1522, allocations: 24.56 kB / 476.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.877e-05/0.1523, allocations: 28 kB / 477 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/0.1528, allocations: 280.8 kB / 477.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.1529, allocations: 0 / 477.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.1529, allocations: 15.98 kB / 477.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1529, allocations: 8 kB / 477.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.1534, allocations: 202.1 kB / 477.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.1549, allocations: 0.8187 MB / 478.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.1554, allocations: 214.8 kB / 478.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.1556, allocations: 96.81 kB / 478.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.466e-05/0.1557, allocations: 4 kB / 478.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005447/0.1562, allocations: 243.7 kB / 478.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.735e-06/0.1562, allocations: 0 / 478.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.0009502/0.1572, allocations: 393 kB / 479.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/0.1573, allocations: 55.41 kB / 479.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.1576, allocations: 229 kB / 479.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.1577, allocations: 41.7 kB / 479.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.1579, allocations: 180.4 kB / 479.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.158, allocations: 90.7 kB / 479.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.158, allocations: 8 kB / 479.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.1583, allocations: 342.8 kB / 480.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.1585, allocations: 92.64 kB / 480.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.1589, allocations: 232.8 kB / 480.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.1592, allocations: 123.9 kB / 480.6 MB, free: 5.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1592, allocations: 0 / 480.6 MB, free: 5.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000788/0.16, allocations: 377.2 kB / 480.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.1601, allocations: 7.953 kB / 480.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.1601, allocations: 8 kB / 480.9 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.318e-05/0.1601, allocations: 4 kB / 480.9 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.1604, allocations: 83.83 kB / 481 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.1605, allocations: 11.92 kB / 481 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.1607, allocations: 43.69 kB / 481.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.1607, allocations: 20 kB / 481.1 MB, free: 4.469 MB / 350.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,$PRE.mean.y_last,mean.y_last,$PRE.rectifiedMean.mean.y_last,rectifiedMean.mean.y_last,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last,$PRE.harmonic.mean1.y_last,harmonic.mean1.y_last,$PRE.harmonic.mean2.y_last,harmonic.mean2.y_last) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002359/0.161, allocations: 166.7 kB / 481.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.161, allocations: 23.72 kB / 481.3 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006838/0.1617, allocations: 344.2 kB / 481.6 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1617, allocations: 4 kB / 481.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1617, allocations: 0 / 481.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1618, allocations: 0 / 481.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009919/0.1628, allocations: 0.7245 MB / 482.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1628, allocations: 4 kB / 482.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.163, allocations: 51.91 kB / 482.4 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.163, allocations: 11.95 kB / 482.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.1631, allocations: 7.984 kB / 482.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.1631, allocations: 4 kB / 482.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1631, allocations: 0 / 482.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008727/0.164, allocations: 0.5268 MB / 483 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.628e-05/0.1641, allocations: 104.7 kB / 483.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.1641, allocations: 12.02 kB / 483.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.1643, allocations: 15.98 kB / 483.1 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.1644, allocations: 31.95 kB / 483.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.1644, allocations: 12.09 kB / 483.1 MB, free: 2.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.1646, allocations: 168.4 kB / 483.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1646, allocations: 0 / 483.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003898/0.165, allocations: 67.83 kB / 483.4 MB, free: 2.105 MB / 350.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_last,rectifiedMean.mean.y_last,rootMeanSquare.mean.y_last,harmonic.mean1.y_last,harmonic.mean2.y_last) * 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 (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.0001549/0.1651, allocations: 111 kB / 483.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005953/0.1657, allocations: 275.6 kB / 483.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1658, allocations: 0.9375 kB / 483.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.1661, allocations: 143.8 kB / 483.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.1665, allocations: 36.41 kB / 483.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.1678, allocations: 0.7457 MB / 484.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.1683, allocations: 0.7803 MB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.781e-05/0.1684, allocations: 35.36 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1684, allocations: 0 / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Templates: time 0.00654/0.175, allocations: 3.57 MB / 489 MB, free: 12.35 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean.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 OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.MeanCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.MeanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.MeanCalcHelperMain.o] Error 1