Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009083/0.0009083, allocations: 88.28 kB / 16.95 MB, free: 5.953 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.0009451/0.0009452, allocations: 178.3 kB / 17.84 MB, free: 5.617 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.665/1.665, allocations: 223.2 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002867, allocations: 9.062 kB / 301.5 MB, free: 6.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 50.42 MB / 351.9 MB, free: 3.828 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002204/0.1335, allocations: 1.245 MB / 353.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008747/0.1344, allocations: 475 kB / 353.6 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.982e-05/0.1345, allocations: 4 kB / 353.6 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.841e-05/0.1346, allocations: 7.938 kB / 353.6 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.1347, allocations: 11.91 kB / 353.6 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.135, allocations: 39.91 kB / 353.6 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.1352, allocations: 43.8 kB / 353.7 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1353, allocations: 12.17 kB / 353.7 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.456e-05/0.1353, allocations: 23.84 kB / 353.7 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.631e-05/0.1354, allocations: 15.94 kB / 353.7 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1354, allocations: 4 kB / 353.7 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.1355, allocations: 4 kB / 353.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.1355, allocations: 11.92 kB / 353.8 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.1356, allocations: 37.64 kB / 353.8 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.872e-05/0.1356, allocations: 35.92 kB / 353.8 MB, free: 1.848 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1357, allocations: 0 / 353.8 MB, free: 1.848 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1357, allocations: 0 / 353.8 MB, free: 1.848 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1357, allocations: 0 / 353.8 MB, free: 1.848 MB / 286.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.0006118/0.1363, allocations: 367.3 kB / 354.2 MB, free: 1.441 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1363, allocations: 16.03 kB / 354.2 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.1364, allocations: 11.84 kB / 354.2 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.1366, allocations: 189.6 kB / 354.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1366, allocations: 4 kB / 354.4 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.1367, allocations: 3.938 kB / 354.4 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.137, allocations: 113 kB / 354.5 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.137, allocations: 3.953 kB / 354.5 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.137, allocations: 0 / 354.5 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.137, allocations: 0 / 354.5 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.791e-05/0.1371, allocations: 23.98 kB / 354.5 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.1374, allocations: 261.8 kB / 354.8 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.213e-05/0.1375, allocations: 41.16 kB / 354.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.1376, allocations: 29.72 kB / 354.9 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1376, allocations: 3.984 kB / 354.9 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1376, allocations: 38.5 kB / 354.9 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.1377, allocations: 0 / 354.9 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002425/0.1379, allocations: 69.58 kB / 355 MB, free: 0.5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.138, allocations: 89.3 kB / 355.1 MB, free: 404 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1381, allocations: 141.8 kB / 355.2 MB, free: 252 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1381, allocations: 25.7 kB / 355.2 MB, free: 220 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.1382, allocations: 88.14 kB / 355.3 MB, free: 128 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.1382, allocations: 11.84 kB / 355.3 MB, free: 116 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.1383, allocations: 0 / 355.3 MB, free: 116 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1384, allocations: 314.8 kB / 355.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.081e-05/0.1385, allocations: 12 kB / 355.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/0.1385, allocations: 25.7 kB / 355.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.1386, allocations: 8 kB / 355.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1386, allocations: 0 / 355.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001336/0.1387, allocations: 65.66 kB / 355.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1388, allocations: 11.97 kB / 355.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1388, allocations: 0 / 355.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1388, allocations: 7.938 kB / 355.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.1389, allocations: 4 kB / 355.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1389, allocations: 0 / 355.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.1389, allocations: 7.984 kB / 355.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1389, allocations: 0 / 355.8 MB, free: 15.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.006e-05/0.139, allocations: 113.8 kB / 355.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.1391, allocations: 57.48 kB / 355.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.1391, allocations: 11.86 kB / 356 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1391, allocations: 0 / 356 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1392, allocations: 0 / 356 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1392, allocations: 4 kB / 356 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.1393, allocations: 165.7 kB / 356.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1394, allocations: 4 kB / 356.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.1394, allocations: 8 kB / 356.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1394, allocations: 7.938 kB / 356.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1394, allocations: 4.031 kB / 356.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1394, allocations: 0 / 356.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1394, allocations: 0 / 356.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1396, allocations: 164.2 kB / 356.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.1397, allocations: 93 kB / 356.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.1397, allocations: 7.984 kB / 356.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.1398, allocations: 7.984 kB / 356.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.1398, allocations: 0 / 356.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1398, allocations: 4 kB / 356.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.533e-05/0.1399, allocations: 109.5 kB / 356.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1399, allocations: 0 / 356.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.1401, allocations: 4 kB / 356.5 MB, free: 14.79 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001312/0.1403, allocations: 99.25 kB / 356.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.1404, allocations: 23.98 kB / 356.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1404, allocations: 3.938 kB / 356.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.1405, allocations: 8 kB / 356.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.1409, allocations: 20.02 kB / 356.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.1413, allocations: 215.6 kB / 356.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.1417, allocations: 0.6848 MB / 357.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.1418, allocations: 11.42 kB / 357.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1418, allocations: 0 / 357.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Templates: time 0.002565/0.1444, allocations: 0.7631 MB / 358.3 MB, free: 12.9 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.ShiftSampleCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSampleCalcHelperMain.o] Error 1