Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009466/0.0009462, allocations: 92.78 kB / 16.95 MB, free: 6.453 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.001054/0.001054, allocations: 179.2 kB / 17.84 MB, free: 6 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.409/1.409, allocations: 223.2 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.000276, allocations: 4 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 50.42 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002422/0.13, allocations: 1.57 MB / 353.4 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1319, allocations: 1.076 MB / 354.5 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.132, allocations: 7.938 kB / 354.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.1324, allocations: 55.8 kB / 354.6 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.1326, allocations: 79.7 kB / 354.7 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007377/0.1334, allocations: 222.2 kB / 354.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.1336, allocations: 155.5 kB / 355 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1338, allocations: 37.45 kB / 355.1 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1339, allocations: 55.72 kB / 355.1 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.134, allocations: 79.61 kB / 355.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.134, allocations: 8 kB / 355.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.1342, allocations: 39.97 kB / 355.2 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.951e-05/0.1343, allocations: 47.83 kB / 355.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.1344, allocations: 57.52 kB / 355.3 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.1346, allocations: 179.9 kB / 355.5 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1346, allocations: 4 kB / 355.5 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1347, allocations: 0 / 355.5 MB, free: 344 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1347, allocations: 0 / 355.5 MB, free: 344 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007039/0.1354, allocations: 0.5038 MB / 356 MB, free: 15.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1354, allocations: 12.03 kB / 356 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.1355, allocations: 27.67 kB / 356.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.1358, allocations: 282.4 kB / 356.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1359, allocations: 4 kB / 356.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1359, allocations: 8 kB / 356.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.1362, allocations: 180.4 kB / 356.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1363, allocations: 0 / 356.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1363, allocations: 4 kB / 356.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1363, allocations: 0 / 356.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.1364, allocations: 51.84 kB / 356.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.1369, allocations: 391.2 kB / 357 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.1372, allocations: 146.5 kB / 357.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.69e-05/0.1373, allocations: 55.42 kB / 357.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1373, allocations: 4 kB / 357.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.1376, allocations: 87.27 kB / 357.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 2.033e-06/0.1376, allocations: 0 / 357.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005424/0.1381, allocations: 169.3 kB / 357.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/0.1383, allocations: 191.8 kB / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.1387, allocations: 331.1 kB / 357.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1387, allocations: 33.7 kB / 358 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1388, allocations: 132.3 kB / 358.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.1389, allocations: 15.81 kB / 358.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.1389, allocations: 0 / 358.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.139, allocations: 334.8 kB / 358.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.15e-05/0.1391, allocations: 23.98 kB / 358.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1393, allocations: 100.6 kB / 358.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.466e-05/0.1394, allocations: 35.88 kB / 358.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1394, allocations: 0 / 358.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002388/0.1396, allocations: 141.3 kB / 358.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1396, allocations: 7.953 kB / 358.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1396, allocations: 0 / 358.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1397, allocations: 4 kB / 358.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1398, allocations: 27.92 kB / 358.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1398, allocations: 4 kB / 358.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.1399, allocations: 12.03 kB / 358.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1399, allocations: 15.94 kB / 358.8 MB, free: 12.7 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,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 (13): * Single equations (assignments): 13 * 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.0001469/0.1401, allocations: 157.8 kB / 359 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.1402, allocations: 81.33 kB / 359 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.613e-05/0.1403, allocations: 33.66 kB / 359.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1403, allocations: 4 kB / 359.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1403, allocations: 0 / 359.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1403, allocations: 0 / 359.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.1405, allocations: 249.7 kB / 359.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1405, allocations: 0 / 359.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.1406, allocations: 12 kB / 359.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1406, allocations: 0 / 359.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.1406, allocations: 11.98 kB / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.1407, allocations: 7.938 kB / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1407, allocations: 4 kB / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.1409, allocations: 183.6 kB / 359.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1411, allocations: 120.7 kB / 359.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.1411, allocations: 8 kB / 359.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.1412, allocations: 8 kB / 359.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.1412, allocations: 11.94 kB / 359.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.1413, allocations: 4 kB / 359.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002415/0.1415, allocations: 245.9 kB / 359.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1415, allocations: 4 kB / 359.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1418, allocations: 35.98 kB / 360 MB, free: 11.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (11): * Single equations (assignments): 9 * 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.0009822/0.1428, allocations: 422.1 kB / 360.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.143, allocations: 79.89 kB / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.143, allocations: 384 / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.1431, allocations: 40.05 kB / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.1436, allocations: 72.89 kB / 360.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007004/0.1443, allocations: 447.2 kB / 361 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.1447, allocations: 0.7479 MB / 361.7 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.1448, allocations: 23.42 kB / 361.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1448, allocations: 0 / 361.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of Templates: time 0.005145/0.1499, allocations: 3.057 MB / 364.8 MB, free: 6.668 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.BackSampleCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSampleCalcHelperMain.o] Error 1