Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008451/0.0008449, allocations: 88.5 kB / 17.63 MB, free: 6.133 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.0008959/0.000896, allocations: 188 kB / 18.52 MB, free: 5.297 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.497/1.497, allocations: 223.3 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2271/0.2271, allocations: 44.22 MB / 337.9 MB, free: 2.57 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003994, allocations: 12 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1458, allocations: 61.93 MB / 472.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002381/0.1482, allocations: 1.41 MB / 473.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1496, allocations: 0.7998 MB / 474.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.745e-05/0.1497, allocations: 3.938 kB / 474.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.15, allocations: 95.8 kB / 474.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.1502, allocations: 83.77 kB / 474.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.1505, allocations: 87.77 kB / 474.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1507, allocations: 99.73 kB / 474.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.1508, allocations: 15.98 kB / 474.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.151, allocations: 51.75 kB / 474.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1511, allocations: 59.75 kB / 474.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.1511, allocations: 0 / 474.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1512, allocations: 47.98 kB / 474.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.1513, allocations: 19.92 kB / 475 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.1513, allocations: 41.64 kB / 475 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.1515, allocations: 112 kB / 475.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1515, allocations: 4 kB / 475.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1515, allocations: 0 / 475.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1515, allocations: 0 / 475.1 MB, free: 10.76 MB / 350.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.0005715/0.1521, allocations: 422.8 kB / 475.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1522, allocations: 12.5 kB / 475.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.1522, allocations: 15.81 kB / 475.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1525, allocations: 215.5 kB / 475.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1525, allocations: 0 / 475.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.1526, allocations: 4 kB / 475.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1527, allocations: 69.61 kB / 475.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1528, allocations: 0 / 475.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1528, allocations: 4 kB / 475.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1528, allocations: 0 / 475.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.614e-05/0.1529, allocations: 23.92 kB / 475.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.1533, allocations: 300.8 kB / 476.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1535, allocations: 62.55 kB / 476.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.1536, allocations: 28.97 kB / 476.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1536, allocations: 0 / 476.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.1538, allocations: 71.33 kB / 476.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1538, allocations: 0 / 476.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007467/0.1546, allocations: 252.9 kB / 476.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1546, allocations: 51.41 kB / 476.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.1549, allocations: 242.3 kB / 476.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1549, allocations: 25.7 kB / 476.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.155, allocations: 112.1 kB / 477 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.155, allocations: 27.56 kB / 477 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/0.1551, allocations: 0 / 477 MB, free: 8.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1552, allocations: 338.8 kB / 477.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.551e-05/0.1553, allocations: 27.98 kB / 477.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.1554, allocations: 49.08 kB / 477.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/0.1555, allocations: 35.94 kB / 477.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1555, allocations: 0 / 477.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000211/0.1557, allocations: 125.4 kB / 477.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1557, allocations: 4 kB / 477.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1557, allocations: 0.7031 kB / 477.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1557, allocations: 8.031 kB / 477.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.1558, allocations: 27.92 kB / 477.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1558, allocations: 0 / 477.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.1559, allocations: 4 kB / 477.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1559, allocations: 4 kB / 477.6 MB, free: 8.023 MB / 350.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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.0001381/0.156, allocations: 140.9 kB / 477.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.1561, allocations: 11.81 kB / 477.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.1561, allocations: 25.39 kB / 477.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1561, allocations: 0 / 477.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1562, allocations: 8 kB / 477.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1562, allocations: 0 / 477.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.1567, allocations: 459.9 kB / 478.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1567, allocations: 4 kB / 478.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.422e-05/0.1568, allocations: 15.94 kB / 478.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1568, allocations: 0 / 478.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1568, allocations: 8.062 kB / 478.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.1568, allocations: 3.984 kB / 478.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1568, allocations: 3.984 kB / 478.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.1571, allocations: 229 kB / 478.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.1572, allocations: 104.9 kB / 478.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1572, allocations: 0 / 478.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.1573, allocations: 8 kB / 478.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.1573, allocations: 19.88 kB / 478.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.1574, allocations: 8 kB / 478.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.1575, allocations: 184.3 kB / 478.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1575, allocations: 0 / 478.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1578, allocations: 31.98 kB / 478.9 MB, free: 6.676 MB / 350.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001225/0.1591, allocations: 0.5125 MB / 479.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1593, allocations: 79.91 kB / 479.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1593, allocations: 0 / 479.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/0.1594, allocations: 39.92 kB / 479.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1597, allocations: 24.17 kB / 479.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.1604, allocations: 345.6 kB / 479.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.1607, allocations: 0.7199 MB / 480.6 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.1608, allocations: 23.44 kB / 480.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1608, allocations: 3.938 kB / 480.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of Templates: time 0.004338/0.1651, allocations: 2.218 MB / 482.8 MB, free: 2.871 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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 OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7CalcHelperMain.o] Error 1