Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.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.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 93.44 kB / 16.95 MB, free: 5.629 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.001477/0.001477, allocations: 186 kB / 17.85 MB, free: 5.289 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.5/1.5, allocations: 223.3 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002963, allocations: 8 kB / 301.5 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1446, allocations: 50.42 MB / 351.9 MB, free: 3.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002541/0.1472, allocations: 1.582 MB / 353.5 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.149, allocations: 1.002 MB / 354.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1491, allocations: 4 kB / 354.5 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.1497, allocations: 135.6 kB / 354.6 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.1499, allocations: 91.69 kB / 354.7 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.1505, allocations: 178.9 kB / 354.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.1507, allocations: 171.5 kB / 355 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1508, allocations: 21.67 kB / 355 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1509, allocations: 75.62 kB / 355.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.151, allocations: 63.64 kB / 355.2 MB, free: 480 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1511, allocations: 4 kB / 355.2 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1512, allocations: 47.97 kB / 355.2 MB, free: 428 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.1513, allocations: 35.84 kB / 355.3 MB, free: 392 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.561e-05/0.1513, allocations: 57.52 kB / 355.3 MB, free: 328 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1515, allocations: 159.9 kB / 355.5 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1515, allocations: 0 / 355.5 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1516, allocations: 0 / 355.5 MB, free: 168 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1516, allocations: 0 / 355.5 MB, free: 168 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.000742/0.1523, allocations: 0.4883 MB / 356 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.1524, allocations: 16.03 kB / 356 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.1524, allocations: 19.72 kB / 356 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.1528, allocations: 261.6 kB / 356.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1528, allocations: 8 kB / 356.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.1528, allocations: 8 kB / 356.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.1532, allocations: 174.9 kB / 356.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1533, allocations: 0 / 356.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1533, allocations: 3.984 kB / 356.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1533, allocations: 7.953 kB / 356.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.944e-05/0.1534, allocations: 39.92 kB / 356.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.1539, allocations: 375.2 kB / 356.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1542, allocations: 130.5 kB / 357 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.499e-05/0.1543, allocations: 55.42 kB / 357 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1543, allocations: 8.016 kB / 357.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.1545, allocations: 83.31 kB / 357.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 2.324e-06/0.1545, allocations: 0 / 357.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003663/0.1549, allocations: 157.2 kB / 357.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.155, allocations: 162.2 kB / 357.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.1553, allocations: 265.4 kB / 357.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1553, allocations: 33.7 kB / 357.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.974e-05/0.1554, allocations: 116.4 kB / 357.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1554, allocations: 19.8 kB / 357.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.1554, allocations: 0 / 357.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1556, allocations: 326.8 kB / 358.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.12e-05/0.1556, allocations: 27.92 kB / 358.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.1558, allocations: 87.59 kB / 358.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.886e-05/0.1558, allocations: 27.98 kB / 358.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1559, allocations: 0 / 358.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002222/0.1561, allocations: 137.3 kB / 358.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1561, allocations: 8 kB / 358.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1561, allocations: 0 / 358.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1561, allocations: 4 kB / 358.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.1562, allocations: 12 kB / 358.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1562, allocations: 7.922 kB / 358.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.404e-05/0.1563, allocations: 19.84 kB / 358.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1563, allocations: 8.125 kB / 358.5 MB, free: 12.78 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,sample1.u,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.0001303/0.1565, allocations: 141.8 kB / 358.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.1566, allocations: 85.55 kB / 358.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.1567, allocations: 25.7 kB / 358.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1567, allocations: 4 kB / 358.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1567, allocations: 4 kB / 358.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1567, allocations: 4 kB / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1569, allocations: 221.6 kB / 359 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1569, allocations: 8.094 kB / 359 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.764e-05/0.157, allocations: 7.938 kB / 359 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.157, allocations: 0 / 359 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.157, allocations: 11.95 kB / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.157, allocations: 0 / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.157, allocations: 4 kB / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.1573, allocations: 167.4 kB / 359.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-05/0.1574, allocations: 112.8 kB / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.1575, allocations: 8 kB / 359.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.311e-05/0.1576, allocations: 11.89 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.1576, allocations: 7.984 kB / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1577, allocations: 7.938 kB / 359.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.1579, allocations: 196.5 kB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1579, allocations: 4 kB / 359.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1581, allocations: 35.94 kB / 359.6 MB, free: 11.62 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,sample1.u,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.0009855/0.1591, allocations: 418.2 kB / 360 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.1593, allocations: 79.84 kB / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1594, allocations: 0 / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.435e-05/0.1594, allocations: 24.36 kB / 360.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.1599, allocations: 72.38 kB / 360.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005986/0.1605, allocations: 390.7 kB / 360.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.1608, allocations: 0.7362 MB / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.1609, allocations: 23.44 kB / 361.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1609, allocations: 0 / 361.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of Templates: time 0.005327/0.1662, allocations: 2.762 MB / 364.1 MB, free: 7.234 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.BackSampleCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSampleCalcHelperMain.o] Error 1