Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007406/0.0007405, allocations: 89.19 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008153/0.0008153, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003004, allocations: 4 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1175, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.002293/0.1199, allocations: 1.565 MB / 360.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1219, allocations: 1.189 MB / 361.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.122, allocations: 3.938 kB / 361.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.1223, allocations: 55.8 kB / 361.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.1227, allocations: 111.6 kB / 361.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000668/0.1233, allocations: 215.4 kB / 361.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1236, allocations: 151.5 kB / 362.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1237, allocations: 33.53 kB / 362.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1238, allocations: 59.66 kB / 362.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1239, allocations: 71.67 kB / 362.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.1239, allocations: 4 kB / 362.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.1241, allocations: 43.97 kB / 362.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.1242, allocations: 47.83 kB / 362.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.1242, allocations: 53.58 kB / 362.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.1245, allocations: 171.9 kB / 362.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1245, allocations: 7.938 kB / 362.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1245, allocations: 0 / 362.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1245, allocations: 4 kB / 362.6 MB, free: 10.34 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006901/0.1252, allocations: 0.4999 MB / 363.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1253, allocations: 12.03 kB / 363.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.1253, allocations: 27.66 kB / 363.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.1256, allocations: 278.4 kB / 363.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1257, allocations: 4 kB / 363.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.1257, allocations: 11.95 kB / 363.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.126, allocations: 167.1 kB / 363.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.126, allocations: 0 / 363.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1261, allocations: 0 / 363.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1261, allocations: 7.984 kB / 363.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1262, allocations: 27.98 kB / 363.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.1267, allocations: 394.3 kB / 364 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.1269, allocations: 119.9 kB / 364.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.419e-05/0.127, allocations: 46.56 kB / 364.1 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.127, allocations: 0 / 364.1 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.1273, allocations: 87.31 kB / 364.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.1273, allocations: 0 / 364.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003496/0.1276, allocations: 149.3 kB / 364.4 MB, free: 8.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/0.1277, allocations: 158.2 kB / 364.5 MB, free: 8.109 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.128, allocations: 334.7 kB / 364.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1281, allocations: 33.64 kB / 364.9 MB, free: 7.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.1282, allocations: 128.4 kB / 365 MB, free: 7.602 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.1282, allocations: 27.81 kB / 365 MB, free: 7.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.1282, allocations: 0 / 365 MB, free: 7.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1283, allocations: 338.8 kB / 365.4 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.37e-05/0.1284, allocations: 23.98 kB / 365.4 MB, free: 7.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.53e-05/0.1285, allocations: 82.8 kB / 365.5 MB, free: 7.105 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.651e-05/0.1286, allocations: 35.98 kB / 365.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1286, allocations: 0 / 365.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002187/0.1288, allocations: 125.2 kB / 365.6 MB, free: 6.941 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1289, allocations: 8 kB / 365.6 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1289, allocations: 128 / 365.6 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1289, allocations: 8 kB / 365.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.129, allocations: 23.92 kB / 365.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.129, allocations: 4 kB / 365.7 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.19e-05/0.1291, allocations: 4 kB / 365.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1291, allocations: 7.984 kB / 365.7 MB, free: 6.887 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001387/0.1293, allocations: 157.8 kB / 365.8 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.947e-05/0.1293, allocations: 69.34 kB / 365.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.1294, allocations: 29.78 kB / 365.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1294, allocations: 3.984 kB / 365.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1294, allocations: 320 / 365.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1294, allocations: 0 / 365.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1296, allocations: 245.5 kB / 366.2 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1297, allocations: 7.938 kB / 366.2 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.1297, allocations: 11.98 kB / 366.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1297, allocations: 4 kB / 366.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1298, allocations: 0 / 366.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1298, allocations: 0 / 366.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.1298, allocations: 4 kB / 366.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.13, allocations: 162.5 kB / 366.4 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.166e-05/0.1301, allocations: 120.8 kB / 366.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.1302, allocations: 11.94 kB / 366.5 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.471e-05/0.1302, allocations: 7.984 kB / 366.5 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.1303, allocations: 12 kB / 366.5 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1303, allocations: 7.984 kB / 366.5 MB, free: 5.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002333/0.1306, allocations: 241.9 kB / 366.7 MB, free: 5.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1306, allocations: 0 / 366.7 MB, free: 5.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1308, allocations: 31.98 kB / 366.8 MB, free: 5.684 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009849/0.1318, allocations: 422.6 kB / 367.2 MB, free: 5.398 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.132, allocations: 72.09 kB / 367.3 MB, free: 5.328 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.132, allocations: 0 / 367.3 MB, free: 5.328 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.307e-05/0.1321, allocations: 31.92 kB / 367.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.1325, allocations: 57.42 kB / 367.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006494/0.1332, allocations: 446 kB / 367.8 MB, free: 4.766 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1335, allocations: 0.7439 MB / 368.5 MB, free: 3.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.1335, allocations: 19.44 kB / 368.5 MB, free: 3.977 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1336, allocations: 0 / 368.5 MB, free: 3.977 MB / 302.1 MB Notification: Performance of Templates: time 0.004999/0.1386, allocations: 2.918 MB / 371.5 MB, free: 1.07 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SubSampleCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSampleCalcHelperMain.o] Error 1