Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 83.33 kB / 17.62 MB, free: 5.715 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.001832/0.001832, allocations: 183.5 kB / 18.52 MB, free: 5.164 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.596/1.596, allocations: 223.2 MB / 242.5 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2294/0.2294, allocations: 44.22 MB / 337.9 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003352, allocations: 12 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1446, allocations: 61.93 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002249/0.1469, allocations: 1.394 MB / 473.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.1491, allocations: 1.374 MB / 475 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1493, allocations: 4 kB / 475 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.1497, allocations: 27.91 kB / 475 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.1499, allocations: 47.77 kB / 475 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1502, allocations: 87.83 kB / 475.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1504, allocations: 87.69 kB / 475.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1505, allocations: 8.219 kB / 475.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.753e-05/0.1506, allocations: 35.8 kB / 475.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.1507, allocations: 35.83 kB / 475.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1508, allocations: 8 kB / 475.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1509, allocations: 47.98 kB / 475.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.1509, allocations: 19.91 kB / 475.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.151, allocations: 37.64 kB / 475.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1512, allocations: 88.09 kB / 475.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1512, allocations: 0 / 475.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1512, allocations: 0 / 475.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1512, allocations: 0 / 475.5 MB, free: 10.41 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005781/0.1518, allocations: 393.5 kB / 475.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1518, allocations: 12.03 kB / 475.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.1519, allocations: 11.81 kB / 475.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.1522, allocations: 195 kB / 476.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.1522, allocations: 11.95 kB / 476.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1522, allocations: 0 / 476.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1524, allocations: 71.33 kB / 476.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1524, allocations: 0 / 476.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1524, allocations: 0 / 476.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1524, allocations: 4 kB / 476.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.1525, allocations: 19.98 kB / 476.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.1529, allocations: 284.8 kB / 476.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.1531, allocations: 66.55 kB / 476.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.1531, allocations: 16.86 kB / 476.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.1532, allocations: 4 kB / 476.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.1534, allocations: 63.39 kB / 476.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.916e-06/0.1534, allocations: 0 / 476.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005236/0.1539, allocations: 173.2 kB / 476.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.154, allocations: 77.11 kB / 476.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1541, allocations: 160.3 kB / 477 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1542, allocations: 29.7 kB / 477.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.1542, allocations: 100.1 kB / 477.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.1543, allocations: 19.72 kB / 477.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.1543, allocations: 0 / 477.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1544, allocations: 326.8 kB / 477.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.542e-05/0.1545, allocations: 19.98 kB / 477.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-05/0.1545, allocations: 42.5 kB / 477.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.773e-05/0.1546, allocations: 28.03 kB / 477.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1546, allocations: 0 / 477.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001741/0.1548, allocations: 93.91 kB / 477.7 MB, free: 8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1548, allocations: 14.8 kB / 477.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1548, allocations: 3.984 kB / 477.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1548, allocations: 0 / 477.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.1549, allocations: 20 kB / 477.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1549, allocations: 0 / 477.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.155, allocations: 11.97 kB / 477.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.155, allocations: 11.94 kB / 477.7 MB, free: 7.941 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 (10): * Single equations (assignments): 10 * 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.0001094/0.1551, allocations: 118.4 kB / 477.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.1552, allocations: 11.81 kB / 477.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.1552, allocations: 12.88 kB / 477.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1552, allocations: 0 / 477.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.1552, allocations: 3.984 kB / 477.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1552, allocations: 3.938 kB / 477.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.1557, allocations: 395.3 kB / 478.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1557, allocations: 0 / 478.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.1557, allocations: 11.94 kB / 478.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1557, allocations: 0 / 478.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1557, allocations: 7.984 kB / 478.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1557, allocations: 192 / 478.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1557, allocations: 3.953 kB / 478.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.156, allocations: 208.2 kB / 478.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.156, allocations: 85.02 kB / 478.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.1561, allocations: 7.984 kB / 478.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.1561, allocations: 7.938 kB / 478.6 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.1562, allocations: 11.89 kB / 478.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.1562, allocations: 7.984 kB / 478.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.78e-05/0.1563, allocations: 111.3 kB / 478.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1563, allocations: 0 / 478.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1566, allocations: 39.98 kB / 478.8 MB, free: 6.805 MB / 350.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: 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 (8): * Single equations (assignments): 6 * 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.001134/0.1577, allocations: 498.3 kB / 479.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1579, allocations: 63.91 kB / 479.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1579, allocations: 0 / 479.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.808e-05/0.158, allocations: 24.14 kB / 479.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.1583, allocations: 32.06 kB / 479.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.1587, allocations: 243.9 kB / 479.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.1591, allocations: 0.6936 MB / 480.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.1591, allocations: 27.42 kB / 480.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1591, allocations: 0 / 480.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of Templates: time 0.004043/0.1632, allocations: 2.027 MB / 482.3 MB, free: 3.359 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59CalcHelperMain.o] Error 1