Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008203/0.0008203, allocations: 94.66 kB / 17.64 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009418/0.0009416, allocations: 198 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002988, allocations: 8 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1261, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.001878/0.128, allocations: 1.286 MB / 360.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.1288, allocations: 499.1 kB / 360.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.129, allocations: 4 kB / 360.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.129, allocations: 0 / 360.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.1292, allocations: 15.91 kB / 360.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.1295, allocations: 43.91 kB / 360.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.886e-05/0.1296, allocations: 47.78 kB / 360.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.1297, allocations: 12.17 kB / 360.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.1298, allocations: 27.91 kB / 360.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.458e-05/0.1299, allocations: 19.86 kB / 360.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.1299, allocations: 0 / 360.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.361e-05/0.13, allocations: 8 kB / 360.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.13, allocations: 11.94 kB / 360.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.13, allocations: 33.7 kB / 360.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.1301, allocations: 43.91 kB / 360.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1302, allocations: 0 / 360.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1302, allocations: 0 / 360.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1302, allocations: 0 / 360.8 MB, free: 12.07 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004934/0.1307, allocations: 367.2 kB / 361.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1307, allocations: 15.97 kB / 361.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.1309, allocations: 23.89 kB / 361.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.1311, allocations: 185.7 kB / 361.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1311, allocations: 11.94 kB / 361.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.1311, allocations: 7.984 kB / 361.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.1315, allocations: 117.8 kB / 361.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1315, allocations: 4 kB / 361.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1315, allocations: 0 / 361.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1315, allocations: 0 / 361.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.1316, allocations: 27.92 kB / 361.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.132, allocations: 278.6 kB / 361.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.1321, allocations: 71.78 kB / 361.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.959e-05/0.1322, allocations: 34.64 kB / 362 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1322, allocations: 3.984 kB / 362 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1322, allocations: 34.5 kB / 362 MB, free: 10.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1323, allocations: 0 / 362 MB, free: 10.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002732/0.1325, allocations: 93.7 kB / 362.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.1326, allocations: 106.8 kB / 362.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1328, allocations: 141.8 kB / 362.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1328, allocations: 29.7 kB / 362.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.1329, allocations: 88.14 kB / 362.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.1329, allocations: 3.906 kB / 362.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-06/0.1329, allocations: 192 / 362.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1331, allocations: 334.7 kB / 362.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.163e-05/0.1332, allocations: 8 kB / 362.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.645e-05/0.1332, allocations: 35.42 kB / 362.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.187e-05/0.1333, allocations: 19.98 kB / 362.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1333, allocations: 4 kB / 362.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001402/0.1335, allocations: 65.53 kB / 362.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.1335, allocations: 11.94 kB / 362.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1335, allocations: 0 / 362.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1335, allocations: 4.125 kB / 362.9 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.796e-05/0.1336, allocations: 15.98 kB / 362.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1336, allocations: 4 kB / 362.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.1337, allocations: 4 kB / 362.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.1337, allocations: 0 / 362.9 MB, free: 9.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 9.793e-05/0.1338, allocations: 125.8 kB / 363.1 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.1339, allocations: 49.55 kB / 363.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.1339, allocations: 23.88 kB / 363.1 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1339, allocations: 0 / 363.1 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1339, allocations: 0 / 363.1 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.134, allocations: 4 kB / 363.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.1341, allocations: 169.6 kB / 363.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1342, allocations: 0 / 363.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.1342, allocations: 15.98 kB / 363.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1342, allocations: 0 / 363.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1342, allocations: 4 kB / 363.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1342, allocations: 3.938 kB / 363.3 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1343, allocations: 4 kB / 363.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1345, allocations: 185 kB / 363.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.1346, allocations: 93 kB / 363.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1346, allocations: 0 / 363.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.1347, allocations: 11.98 kB / 363.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.1347, allocations: 4 kB / 363.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1347, allocations: 0 / 363.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.1348, allocations: 109.8 kB / 363.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1348, allocations: 0 / 363.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.135, allocations: 12 kB / 363.7 MB, free: 8.773 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001311/0.1352, allocations: 95.25 kB / 363.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.1353, allocations: 40 kB / 363.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1353, allocations: 0 / 363.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.1354, allocations: 11.98 kB / 363.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1358, allocations: 35.89 kB / 363.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.1362, allocations: 224.8 kB / 364.1 MB, free: 8.324 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.1365, allocations: 0.6926 MB / 364.8 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.1366, allocations: 15.42 kB / 364.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1366, allocations: 0 / 364.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of Templates: time 0.00258/0.1392, allocations: 0.8173 MB / 365.7 MB, free: 6.781 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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 OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSampleCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSampleCalcHelperMain.o] Error 1