Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009121/0.0009121, allocations: 87.53 kB / 17.63 MB, free: 6.293 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.0009555/0.0009557, allocations: 180.5 kB / 18.52 MB, free: 5.445 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.478/1.478, allocations: 223.2 MB / 242.5 MB, free: 316 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.2495/0.2495, allocations: 44.22 MB / 337.9 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004727, allocations: 10.88 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1397, allocations: 61.91 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003027/0.1428, allocations: 1.888 MB / 474.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.1453, allocations: 1.466 MB / 475.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1455, allocations: 0 / 475.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004331/0.146, allocations: 123.5 kB / 475.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004386/0.1464, allocations: 175.3 kB / 475.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.148, allocations: 0.5677 MB / 476.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006189/0.1487, allocations: 462.5 kB / 476.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.1489, allocations: 61.27 kB / 476.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.1492, allocations: 195 kB / 477.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.1495, allocations: 183.2 kB / 477.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.1495, allocations: 12 kB / 477.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.1498, allocations: 111.9 kB / 477.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.15, allocations: 111.6 kB / 477.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1501, allocations: 97.45 kB / 477.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005328/0.1506, allocations: 419.3 kB / 478 MB, free: 7.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.1507, allocations: 3.938 kB / 478 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1507, allocations: 4 kB / 478 MB, free: 7.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1507, allocations: 4 kB / 478 MB, free: 7.867 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001303/0.152, allocations: 0.8125 MB / 478.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.152, allocations: 8.562 kB / 478.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.1522, allocations: 47.44 kB / 478.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.1528, allocations: 443.3 kB / 479.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.1529, allocations: 12.23 kB / 479.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.1529, allocations: 19.95 kB / 479.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.1533, allocations: 257.4 kB / 479.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1534, allocations: 7.938 kB / 479.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.1534, allocations: 4 kB / 479.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1534, allocations: 7.984 kB / 479.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.1537, allocations: 111.8 kB / 479.7 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.1548, allocations: 0.8835 MB / 480.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.1554, allocations: 290.6 kB / 480.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.1557, allocations: 111.3 kB / 481 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.1557, allocations: 4 kB / 481 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005004/0.1562, allocations: 214.8 kB / 481.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.1563, allocations: 4 kB / 481.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009078/0.1572, allocations: 392.8 kB / 481.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002349/0.1574, allocations: 350.1 kB / 481.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007677/0.1582, allocations: 0.6315 MB / 482.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.1582, allocations: 41.7 kB / 482.6 MB, free: 2.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.1584, allocations: 224.5 kB / 482.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.049e-05/0.1585, allocations: 71.12 kB / 482.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.1585, allocations: 4 kB / 482.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1587, allocations: 362.8 kB / 483.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.1589, allocations: 79.95 kB / 483.3 MB, free: 2.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.1593, allocations: 249 kB / 483.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.1595, allocations: 104.9 kB / 483.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1595, allocations: 0 / 483.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005835/0.1601, allocations: 312.8 kB / 484 MB, free: 1.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1601, allocations: 8.125 kB / 484 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1601, allocations: 4 kB / 484 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1602, allocations: 7.984 kB / 484 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.1604, allocations: 55.91 kB / 484.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.1604, allocations: 11.89 kB / 484.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.1606, allocations: 27.83 kB / 484.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.1607, allocations: 16 kB / 484.1 MB, free: 1.285 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002592/0.1609, allocations: 213.7 kB / 484.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.161, allocations: 51.34 kB / 484.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.1611, allocations: 59.91 kB / 484.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1611, allocations: 4 kB / 484.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.1612, allocations: 0 / 484.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.1612, allocations: 7.953 kB / 484.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.1616, allocations: 409.1 kB / 484.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1616, allocations: 4.234 kB / 484.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1618, allocations: 31.98 kB / 484.9 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1618, allocations: 0 / 484.9 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.1618, allocations: 7.984 kB / 484.9 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1618, allocations: 8 kB / 484.9 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1619, allocations: 3.938 kB / 484.9 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006234/0.1625, allocations: 353.1 kB / 485.2 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.1626, allocations: 144.4 kB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.925e-05/0.1627, allocations: 19.98 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.1629, allocations: 11.98 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.163, allocations: 43.94 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.163, allocations: 11.95 kB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005512/0.1636, allocations: 462.8 kB / 485.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.705e-06/0.1636, allocations: 0 / 485.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004728/0.1641, allocations: 107.9 kB / 486 MB, free: 15.27 MB / 366.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: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001174/0.1653, allocations: 463.2 kB / 486.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005861/0.1659, allocations: 227.6 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1659, allocations: 0 / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.1662, allocations: 127.8 kB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.1668, allocations: 131.4 kB / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.1683, allocations: 0.8794 MB / 487.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.1689, allocations: 0.8353 MB / 488.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.169, allocations: 51.41 kB / 488.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.169, allocations: 0 / 488.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of Templates: time 0.01168/0.1807, allocations: 6.973 MB / 495.7 MB, free: 5.719 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.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.Blocks.IntegerTableCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTableCalcHelperMain.o] Error 1