Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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) 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(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008486/0.0008487, allocations: 92.22 kB / 16.96 MB, free: 6.41 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.0009843/0.0009843, allocations: 183.5 kB / 17.84 MB, free: 5.969 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.437/1.437, allocations: 223.3 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003164, allocations: 11.98 kB / 301.5 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1265, allocations: 50.42 MB / 351.9 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.002368/0.1289, allocations: 1.543 MB / 353.4 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1306, allocations: 1.053 MB / 354.5 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1307, allocations: 7.938 kB / 354.5 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.131, allocations: 55.8 kB / 354.5 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.1313, allocations: 75.72 kB / 354.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006233/0.1319, allocations: 210.8 kB / 354.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.1321, allocations: 151.6 kB / 355 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1323, allocations: 25.48 kB / 355 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1324, allocations: 63.64 kB / 355 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.978e-05/0.1325, allocations: 63.69 kB / 355.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1325, allocations: 3.984 kB / 355.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1326, allocations: 51.97 kB / 355.2 MB, free: 492 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.729e-05/0.1327, allocations: 43.84 kB / 355.2 MB, free: 448 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.062e-05/0.1328, allocations: 61.58 kB / 355.3 MB, free: 380 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.133, allocations: 167.8 kB / 355.4 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1331, allocations: 0 / 355.4 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1331, allocations: 0 / 355.4 MB, free: 212 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1331, allocations: 0 / 355.4 MB, free: 212 kB / 286.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.0007556/0.1338, allocations: 0.5038 MB / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1339, allocations: 12.03 kB / 355.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.1339, allocations: 19.72 kB / 356 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.1343, allocations: 278.5 kB / 356.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1343, allocations: 8 kB / 356.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.1344, allocations: 8 kB / 356.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.1347, allocations: 154.8 kB / 356.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1347, allocations: 0 / 356.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1348, allocations: 4 kB / 356.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1348, allocations: 3.953 kB / 356.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.1349, allocations: 39.91 kB / 356.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.1354, allocations: 374.4 kB / 356.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.1357, allocations: 119.9 kB / 356.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.465e-05/0.1358, allocations: 50.5 kB / 357 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.1358, allocations: 7.953 kB / 357 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.136, allocations: 75.38 kB / 357.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.136, allocations: 0 / 357.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003715/0.1364, allocations: 157.2 kB / 357.2 MB, free: 14.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.765e-05/0.1365, allocations: 158.5 kB / 357.4 MB, free: 14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.1369, allocations: 326.7 kB / 357.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1369, allocations: 29.7 kB / 357.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.137, allocations: 124 kB / 357.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.137, allocations: 19.83 kB / 357.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.137, allocations: 4 kB / 357.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1372, allocations: 334.8 kB / 358.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-05/0.1373, allocations: 16 kB / 358.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1374, allocations: 86.84 kB / 358.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.296e-05/0.1375, allocations: 35.92 kB / 358.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1375, allocations: 0 / 358.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002228/0.1377, allocations: 137.2 kB / 358.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1377, allocations: 10.81 kB / 358.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1378, allocations: 3.984 kB / 358.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1378, allocations: 8.297 kB / 358.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.1379, allocations: 15.98 kB / 358.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1379, allocations: 4 kB / 358.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.138, allocations: 8 kB / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.138, allocations: 4 kB / 358.5 MB, free: 12.8 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,shiftSample1.y,shiftSample1.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.0001568/0.1382, allocations: 161.9 kB / 358.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.892e-05/0.1382, allocations: 65.38 kB / 358.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.59e-05/0.1383, allocations: 25.7 kB / 358.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1383, allocations: 4 kB / 358.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1383, allocations: 0 / 358.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1383, allocations: 3.984 kB / 358.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.1386, allocations: 241.6 kB / 359 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1386, allocations: 0 / 359 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.1387, allocations: 15.94 kB / 359 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1387, allocations: 4.062 kB / 359 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1387, allocations: 7.938 kB / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1387, allocations: 4 kB / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1387, allocations: 0 / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.139, allocations: 158.5 kB / 359.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1391, allocations: 124.8 kB / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.1391, allocations: 0 / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.461e-05/0.1392, allocations: 11.95 kB / 359.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.1393, allocations: 7.984 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.1393, allocations: 4 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002345/0.1395, allocations: 241.9 kB / 359.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1395, allocations: 0 / 359.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1398, allocations: 36 kB / 359.6 MB, free: 11.6 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,shiftSample1.y,sample1.y,shiftSample1.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.001002/0.1408, allocations: 431.2 kB / 360 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.1411, allocations: 67.91 kB / 360.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1411, allocations: 0 / 360.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.1411, allocations: 27.98 kB / 360.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.1415, allocations: 62.89 kB / 360.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006778/0.1422, allocations: 418.5 kB / 360.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.1427, allocations: 0.7478 MB / 361.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.1427, allocations: 23.36 kB / 361.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1427, allocations: 0 / 361.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of Templates: time 0.005185/0.1479, allocations: 2.888 MB / 364.2 MB, free: 7.051 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSampleCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSampleCalcHelperMain.o] Error 1