Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001038, allocations: 93.75 kB / 17.63 MB, free: 5.719 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.001433/0.001433, allocations: 183.2 kB / 18.52 MB, free: 5.168 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.588/1.588, allocations: 223.3 MB / 242.5 MB, free: 308 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.2343/0.2343, allocations: 44.22 MB / 337.9 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003686, allocations: 11.98 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1398, allocations: 61.93 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002655/0.1426, allocations: 1.414 MB / 473.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.144, allocations: 0.7998 MB / 474.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.779e-05/0.1441, allocations: 3.938 kB / 474.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.1445, allocations: 87.8 kB / 474.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.1448, allocations: 67.8 kB / 474.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.1451, allocations: 94.64 kB / 474.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.1453, allocations: 91.73 kB / 474.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1454, allocations: 15.98 kB / 474.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.1455, allocations: 43.78 kB / 474.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.1456, allocations: 55.75 kB / 474.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1457, allocations: 0 / 474.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1458, allocations: 55.97 kB / 474.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.1459, allocations: 19.92 kB / 474.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.1459, allocations: 37.64 kB / 475 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1461, allocations: 100.1 kB / 475.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1462, allocations: 4 kB / 475.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1462, allocations: 0 / 475.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1462, allocations: 0 / 475.1 MB, free: 10.81 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.0006619/0.1468, allocations: 413 kB / 475.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1469, allocations: 12.5 kB / 475.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.147, allocations: 11.91 kB / 475.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.1473, allocations: 214.7 kB / 475.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1473, allocations: 0 / 475.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.1473, allocations: 4 kB / 475.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1475, allocations: 65.62 kB / 475.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1475, allocations: 0 / 475.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1475, allocations: 3.984 kB / 475.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1476, allocations: 0 / 475.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.001e-05/0.1476, allocations: 23.98 kB / 475.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.1481, allocations: 304.7 kB / 476.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.1483, allocations: 58.56 kB / 476.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.1484, allocations: 24.97 kB / 476.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.1484, allocations: 0 / 476.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.1487, allocations: 75.45 kB / 476.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1487, allocations: 0 / 476.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007507/0.1494, allocations: 245.4 kB / 476.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1495, allocations: 51.41 kB / 476.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1497, allocations: 215.2 kB / 476.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1497, allocations: 33.7 kB / 476.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.1498, allocations: 108 kB / 476.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.1498, allocations: 31.56 kB / 476.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.1499, allocations: 0 / 476.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.15, allocations: 334.8 kB / 477.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.1501, allocations: 24 kB / 477.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.51e-05/0.1502, allocations: 49.69 kB / 477.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.1502, allocations: 32 kB / 477.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1502, allocations: 0 / 477.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002242/0.1505, allocations: 133.4 kB / 477.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1505, allocations: 4 kB / 477.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1505, allocations: 0 / 477.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1505, allocations: 8.031 kB / 477.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.1506, allocations: 19.98 kB / 477.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1506, allocations: 0 / 477.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/0.1507, allocations: 8 kB / 477.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1507, allocations: 4 kB / 477.5 MB, free: 8.125 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.0001235/0.1508, allocations: 137.7 kB / 477.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.1509, allocations: 7.906 kB / 477.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.1509, allocations: 17.41 kB / 477.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1509, allocations: 0 / 477.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1509, allocations: 4 kB / 477.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.151, allocations: 3.984 kB / 477.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.1515, allocations: 463.8 kB / 478.1 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1515, allocations: 0 / 478.1 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.616e-05/0.1516, allocations: 15.98 kB / 478.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1516, allocations: 0 / 478.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1516, allocations: 8.062 kB / 478.2 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1516, allocations: 0 / 478.2 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1516, allocations: 0 / 478.2 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.1519, allocations: 240.9 kB / 478.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.1519, allocations: 89 kB / 478.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.152, allocations: 4 kB / 478.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.1521, allocations: 12 kB / 478.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.1521, allocations: 11.94 kB / 478.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1521, allocations: 4 kB / 478.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1523, allocations: 159.2 kB / 478.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1523, allocations: 0 / 478.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1525, allocations: 32 kB / 478.7 MB, free: 6.828 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.001317/0.1539, allocations: 0.5236 MB / 479.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.1541, allocations: 75.91 kB / 479.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1541, allocations: 0 / 479.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.1542, allocations: 43.92 kB / 479.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1545, allocations: 19.98 kB / 479.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.1551, allocations: 317.3 kB / 479.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1554, allocations: 0.7121 MB / 480.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.1554, allocations: 27.42 kB / 480.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1555, allocations: 3.938 kB / 480.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of Templates: time 0.004238/0.1597, allocations: 2.158 MB / 482.6 MB, free: 3.098 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4CalcHelperMain.o] Error 1