Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009287/0.0009287, allocations: 92.81 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.001062/0.001062, allocations: 172.9 kB / 17.84 MB, free: 5.621 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.482/1.482, allocations: 223.2 MB / 241.9 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002734, allocations: 8 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1254, allocations: 50.41 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002503/0.1279, allocations: 1.551 MB / 353.4 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1296, allocations: 0.9556 MB / 354.4 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.1298, allocations: 3.938 kB / 354.4 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.1304, allocations: 143.7 kB / 354.5 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.1306, allocations: 95.67 kB / 354.6 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.1312, allocations: 170.9 kB / 354.8 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.1314, allocations: 159.5 kB / 354.9 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1315, allocations: 33.48 kB / 355 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1317, allocations: 67.62 kB / 355 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1318, allocations: 63.7 kB / 355.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1318, allocations: 0 / 355.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1319, allocations: 43.97 kB / 355.1 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.132, allocations: 35.84 kB / 355.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.1321, allocations: 45.64 kB / 355.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1323, allocations: 155.9 kB / 355.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1323, allocations: 4 kB / 355.4 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1323, allocations: 0 / 355.4 MB, free: 500 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1323, allocations: 0 / 355.4 MB, free: 500 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.0007693/0.1331, allocations: 488.1 kB / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1332, allocations: 12.03 kB / 355.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.1332, allocations: 23.7 kB / 355.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.1336, allocations: 249.7 kB / 356.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.1336, allocations: 15.92 kB / 356.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1336, allocations: 8 kB / 356.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.1339, allocations: 142.4 kB / 356.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.134, allocations: 0 / 356.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.134, allocations: 0 / 356.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.134, allocations: 4 kB / 356.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1341, allocations: 43.88 kB / 356.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.1347, allocations: 354.4 kB / 356.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.1349, allocations: 111.9 kB / 356.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.974e-05/0.135, allocations: 46.5 kB / 356.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.135, allocations: 4 kB / 356.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.1352, allocations: 79.28 kB / 356.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.1352, allocations: 0 / 356.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000344/0.1356, allocations: 137.4 kB / 357.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.1357, allocations: 132.5 kB / 357.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.1359, allocations: 268.9 kB / 357.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.136, allocations: 25.95 kB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.1361, allocations: 120.1 kB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1361, allocations: 23.8 kB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.1361, allocations: 4 kB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1363, allocations: 322.8 kB / 357.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.038e-05/0.1363, allocations: 23.98 kB / 358 MB, free: 13.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.838e-05/0.1364, allocations: 70 kB / 358 MB, free: 13.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.492e-05/0.1365, allocations: 23.98 kB / 358 MB, free: 13.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1365, allocations: 0 / 358 MB, free: 13.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001975/0.1367, allocations: 117.6 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1367, allocations: 8.109 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1368, allocations: 4 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1368, allocations: 7.984 kB / 358.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-05/0.1369, allocations: 15.94 kB / 358.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1369, allocations: 0 / 358.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.235e-05/0.1369, allocations: 7.906 kB / 358.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.137, allocations: 11.98 kB / 358.2 MB, free: 13.34 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,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,subSample1.y,subSample1.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.0001274/0.1371, allocations: 133.8 kB / 358.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.362e-05/0.1372, allocations: 69.44 kB / 358.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.1373, allocations: 25.66 kB / 358.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1373, allocations: 0 / 358.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1373, allocations: 0 / 358.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1373, allocations: 4 kB / 358.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.1375, allocations: 221.5 kB / 358.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1375, allocations: 3.938 kB / 358.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.1375, allocations: 11.98 kB / 358.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.1375, allocations: 4 kB / 358.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1375, allocations: 0 / 358.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/0.1376, allocations: 8.016 kB / 358.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.1376, allocations: 7.938 kB / 358.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.1378, allocations: 146.5 kB / 358.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-05/0.1379, allocations: 112.8 kB / 358.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.138, allocations: 8 kB / 359 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.138, allocations: 11.98 kB / 359 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.1381, allocations: 7.953 kB / 359 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1381, allocations: 4 kB / 359 MB, free: 12.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.1383, allocations: 192.5 kB / 359.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1383, allocations: 0 / 359.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1386, allocations: 31.98 kB / 359.2 MB, free: 12.24 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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.0009968/0.1396, allocations: 420.7 kB / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1398, allocations: 71.84 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1398, allocations: 0 / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.1398, allocations: 27.94 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.1402, allocations: 63.02 kB / 359.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006023/0.1409, allocations: 362.2 kB / 360.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1413, allocations: 0.74 MB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.1413, allocations: 15.44 kB / 360.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1413, allocations: 0 / 360.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of Templates: time 0.004916/0.1462, allocations: 2.553 MB / 363.4 MB, free: 8.109 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.SubSampleCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSampleCalcHelperMain.o] Error 1