Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007579/0.0007579, allocations: 88.39 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.0008915/0.0008916, 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.442/1.442, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002285/0.0002285, allocations: 8 kB / 307.3 MB, free: 1.391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1279, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003361/0.1314, allocations: 1.565 MB / 360.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.1343, allocations: 1.205 MB / 361.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.1345, allocations: 4 kB / 361.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.1349, allocations: 55.8 kB / 361.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.1353, allocations: 103.6 kB / 361.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009044/0.1363, allocations: 215.3 kB / 361.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.1366, allocations: 151.5 kB / 362.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.1368, allocations: 33.53 kB / 362.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1369, allocations: 71.62 kB / 362.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.1371, allocations: 63.69 kB / 362.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1371, allocations: 4 kB / 362.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.1373, allocations: 43.98 kB / 362.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1374, allocations: 51.81 kB / 362.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.1375, allocations: 53.58 kB / 362.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.1378, allocations: 183.8 kB / 362.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1378, allocations: 0 / 362.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1379, allocations: 4 kB / 362.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1379, allocations: 0 / 362.6 MB, free: 10.1 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.000994/0.1389, allocations: 0.5026 MB / 363.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1389, allocations: 8.031 kB / 363.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.618e-05/0.139, allocations: 27.72 kB / 363.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004991/0.1395, allocations: 274.4 kB / 363.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.1396, allocations: 11.98 kB / 363.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.1396, allocations: 4 kB / 363.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.1401, allocations: 163.4 kB / 363.6 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1401, allocations: 3.938 kB / 363.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.1402, allocations: 4 kB / 363.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1402, allocations: 0 / 363.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.1403, allocations: 35.97 kB / 363.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007462/0.1411, allocations: 394.3 kB / 364 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.1414, allocations: 119.9 kB / 364.1 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.1416, allocations: 42.56 kB / 364.1 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.1416, allocations: 4 kB / 364.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.1419, allocations: 83.31 kB / 364.2 MB, free: 8.223 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.1419, allocations: 0 / 364.2 MB, free: 8.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005557/0.1425, allocations: 157.3 kB / 364.4 MB, free: 8.062 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.1426, allocations: 158.2 kB / 364.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005799/0.1432, allocations: 330.7 kB / 364.9 MB, free: 7.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.1433, allocations: 29.64 kB / 364.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.1434, allocations: 136.4 kB / 365 MB, free: 7.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.1435, allocations: 15.75 kB / 365 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.1435, allocations: 4 kB / 365 MB, free: 7.344 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1437, allocations: 338.7 kB / 365.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.995e-05/0.1438, allocations: 23.98 kB / 365.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.144, allocations: 98.72 kB / 365.5 MB, free: 6.859 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.1441, allocations: 28 kB / 365.5 MB, free: 6.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1441, allocations: 0 / 365.5 MB, free: 6.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003167/0.1444, allocations: 121.3 kB / 365.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.1446, allocations: 12.11 kB / 365.7 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1446, allocations: 4 kB / 365.7 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1446, allocations: 0 / 365.7 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1448, allocations: 16 kB / 365.7 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.1448, allocations: 7.938 kB / 365.7 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.1449, allocations: 7.984 kB / 365.7 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.1449, allocations: 8 kB / 365.7 MB, free: 6.652 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.0001912/0.1451, allocations: 153.8 kB / 365.8 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.1453, allocations: 73.34 kB / 365.9 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.33e-05/0.1454, allocations: 25.7 kB / 365.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1454, allocations: 4 kB / 365.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1455, allocations: 0 / 365.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1455, allocations: 0 / 365.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.1458, allocations: 245.5 kB / 366.2 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1458, allocations: 4 kB / 366.2 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.481e-05/0.1459, allocations: 12 kB / 366.2 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1459, allocations: 0 / 366.2 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1459, allocations: 4.312 kB / 366.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.146, allocations: 3.984 kB / 366.2 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.146, allocations: 8.062 kB / 366.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.1464, allocations: 158.5 kB / 366.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.1465, allocations: 120.8 kB / 366.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.1466, allocations: 7.984 kB / 366.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.093e-05/0.1467, allocations: 4 kB / 366.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.1468, allocations: 19.92 kB / 366.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.1468, allocations: 4.047 kB / 366.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000355/0.1472, allocations: 250 kB / 366.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.264e-06/0.1472, allocations: 3.938 kB / 366.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000415/0.1476, allocations: 31.94 kB / 366.8 MB, free: 5.445 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.001433/0.1491, allocations: 420.5 kB / 367.2 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.1494, allocations: 75.91 kB / 367.3 MB, free: 5.086 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1494, allocations: 0 / 367.3 MB, free: 5.086 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1495, allocations: 31.92 kB / 367.3 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.1501, allocations: 57.97 kB / 367.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008594/0.151, allocations: 438.3 kB / 367.8 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.1514, allocations: 0.7399 MB / 368.5 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.1515, allocations: 23.44 kB / 368.6 MB, free: 3.738 MB / 302.1 MB Notification: Performance of SimCode: time 5e-07/0.1515, allocations: 3.938 kB / 368.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of Templates: time 0.006223/0.1577, allocations: 2.941 MB / 371.5 MB, free: 0.8047 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSampleCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSampleCalcHelperMain.o] Error 1