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.0007558/0.0007559, allocations: 92.48 kB / 16.33 MB, free: 5.953 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.0007901/0.0007901, allocations: 186.6 kB / 17.22 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3252/0.3252, allocations: 43.55 MB / 315.2 MB, free: 9.141 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.0004958/0.0004958, allocations: 19.98 kB / 384.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1098, allocations: 58.86 MB / 443.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.002162/0.1121, allocations: 1.846 MB / 445.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1132, allocations: 0.7531 MB / 446 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.1133, allocations: 7.938 kB / 446 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.1134, allocations: 23.78 kB / 446 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.1136, allocations: 35.66 kB / 446.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.1139, allocations: 103.8 kB / 446.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.1142, allocations: 315.1 kB / 446.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.1144, allocations: 94.64 kB / 446.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1145, allocations: 103.5 kB / 446.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1147, allocations: 115.4 kB / 446.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.1147, allocations: 12 kB / 446.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.994e-05/0.1148, allocations: 12 kB / 446.8 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.1148, allocations: 51.75 kB / 446.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.1149, allocations: 77.52 kB / 446.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1151, allocations: 251.6 kB / 447.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1151, allocations: 0 / 447.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1152, allocations: 0 / 447.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1152, allocations: 0 / 447.2 MB, free: 9.508 MB / 382.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.000832/0.116, allocations: 0.5481 MB / 447.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.116, allocations: 12.03 kB / 447.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.1161, allocations: 39.56 kB / 447.8 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.1165, allocations: 333.9 kB / 448.1 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.1166, allocations: 20.56 kB / 448.1 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.1166, allocations: 28 kB / 448.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.1171, allocations: 264.8 kB / 448.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1171, allocations: 0 / 448.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.1172, allocations: 8 kB / 448.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1172, allocations: 12 kB / 448.4 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.1176, allocations: 198.1 kB / 448.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1187, allocations: 0.7834 MB / 449.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.1191, allocations: 206.8 kB / 449.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.1193, allocations: 108.7 kB / 449.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.1193, allocations: 11.98 kB / 449.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003844/0.1197, allocations: 231.1 kB / 450 MB, free: 6.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 3.617e-06/0.1197, allocations: 11.86 kB / 450 MB, free: 6.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.0007048/0.1204, allocations: 377.2 kB / 450.3 MB, free: 6.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1205, allocations: 67.39 kB / 450.4 MB, free: 6.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1207, allocations: 232.9 kB / 450.6 MB, free: 5.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.1207, allocations: 33.7 kB / 450.7 MB, free: 5.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/0.1208, allocations: 168.6 kB / 450.8 MB, free: 5.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.1209, allocations: 90.7 kB / 450.9 MB, free: 5.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/0.1209, allocations: 8 kB / 450.9 MB, free: 5.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1211, allocations: 342.8 kB / 451.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.1213, allocations: 92.69 kB / 451.3 MB, free: 5.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.1215, allocations: 238.2 kB / 451.6 MB, free: 4.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.1217, allocations: 127.8 kB / 451.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1218, allocations: 0 / 451.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000566/0.1223, allocations: 380.7 kB / 452.1 MB, free: 4.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1224, allocations: 8 kB / 452.1 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1224, allocations: 4 kB / 452.1 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1224, allocations: 8.469 kB / 452.1 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.1227, allocations: 83.83 kB / 452.2 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1227, allocations: 8 kB / 452.2 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.1228, allocations: 43.67 kB / 452.2 MB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.1229, allocations: 12 kB / 452.2 MB, free: 4.156 MB / 382.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,mean.y,$PRE.rectifiedMean.mean.y,rectifiedMean.mean.y,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y,$PRE.harmonic.mean1.y,harmonic.mean1.y,$PRE.harmonic.mean2.y,harmonic.mean2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.123, allocations: 174.5 kB / 452.4 MB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.1231, allocations: 27.72 kB / 452.4 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005914/0.1237, allocations: 331.3 kB / 452.8 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1237, allocations: 4 kB / 452.8 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1237, allocations: 0 / 452.8 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1237, allocations: 11.92 kB / 452.8 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008043/0.1245, allocations: 0.7129 MB / 453.5 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1245, allocations: 0 / 453.5 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.1248, allocations: 51.91 kB / 453.5 MB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1248, allocations: 96 / 453.5 MB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.1248, allocations: 15.92 kB / 453.6 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1248, allocations: 3.938 kB / 453.6 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1248, allocations: 0 / 453.6 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007732/0.1256, allocations: 0.5424 MB / 454.1 MB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.1257, allocations: 108.7 kB / 454.2 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.1257, allocations: 12.05 kB / 454.2 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1259, allocations: 23.92 kB / 454.2 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.126, allocations: 19.97 kB / 454.3 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.126, allocations: 11.98 kB / 454.3 MB, free: 2.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.1261, allocations: 160.5 kB / 454.4 MB, free: 1.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1261, allocations: 0 / 454.4 MB, free: 1.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.1265, allocations: 71.83 kB / 454.5 MB, free: 1.785 MB / 382.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 (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.0001153/0.1266, allocations: 116.2 kB / 454.6 MB, free: 1.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004701/0.1271, allocations: 267.6 kB / 454.9 MB, free: 1.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1271, allocations: 0 / 454.9 MB, free: 1.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.1273, allocations: 135.8 kB / 455 MB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1276, allocations: 41.28 kB / 455 MB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009142/0.1286, allocations: 0.7262 MB / 455.8 MB, free: 480 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1801/0.3087, allocations: 0.779 MB / 456.6 MB, free: 45.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.3088, allocations: 29.7 kB / 456.6 MB, free: 45.83 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3089, allocations: 1.812 kB / 456.6 MB, free: 45.83 MB / 382.1 MB Notification: Performance of Templates: time 0.004742/0.3136, allocations: 3.507 MB / 460.1 MB, free: 45.67 MB / 382.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++ 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_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