Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001283, allocations: 89.09 kB / 17.63 MB, free: 6.156 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.001889/0.00189, allocations: 182.3 kB / 18.52 MB, free: 5.32 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.523/1.523, 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.2584/0.2584, allocations: 44.21 MB / 337.9 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003857, allocations: 15.94 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1481, allocations: 61.93 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002125/0.1503, allocations: 1.394 MB / 473.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1516, allocations: 0.792 MB / 474.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.1517, allocations: 4 kB / 474.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.152, allocations: 55.8 kB / 474.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.1522, allocations: 39.84 kB / 474.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1524, allocations: 95.81 kB / 474.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.1526, allocations: 91.62 kB / 474.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1527, allocations: 8.234 kB / 474.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.998e-05/0.1528, allocations: 43.78 kB / 474.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.773e-05/0.1529, allocations: 35.78 kB / 474.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1529, allocations: 0 / 474.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.059e-05/0.153, allocations: 31.98 kB / 474.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.1531, allocations: 23.92 kB / 474.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.1532, allocations: 41.58 kB / 474.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.1534, allocations: 104.1 kB / 474.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.1534, allocations: 4 kB / 475 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1534, allocations: 4 kB / 475 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1534, allocations: 0 / 475 MB, free: 10.95 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.0006682/0.1541, allocations: 413 kB / 475.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1541, allocations: 12.03 kB / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.1542, allocations: 11.89 kB / 475.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.1545, allocations: 214.7 kB / 475.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1545, allocations: 0 / 475.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.1545, allocations: 11.98 kB / 475.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1547, allocations: 61.56 kB / 475.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1547, allocations: 0 / 475.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1547, allocations: 0 / 475.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1547, allocations: 0 / 475.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.275e-05/0.1548, allocations: 19.98 kB / 475.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.1552, allocations: 288.9 kB / 476 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1554, allocations: 70.61 kB / 476 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.1554, allocations: 20.84 kB / 476.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1555, allocations: 0 / 476.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.1557, allocations: 75.38 kB / 476.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1557, allocations: 0 / 476.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00053/0.1562, allocations: 181 kB / 476.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.1563, allocations: 59.39 kB / 476.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.1565, allocations: 258.3 kB / 476.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1565, allocations: 33.7 kB / 476.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.1566, allocations: 108.1 kB / 476.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.1567, allocations: 19.72 kB / 476.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/0.1567, allocations: 4 kB / 476.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1568, allocations: 334.8 kB / 477.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.871e-05/0.1569, allocations: 16 kB / 477.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.1569, allocations: 45.58 kB / 477.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.726e-05/0.157, allocations: 24 kB / 477.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.157, allocations: 0 / 477.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001737/0.1572, allocations: 105.5 kB / 477.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1572, allocations: 4 kB / 477.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1572, allocations: 0 / 477.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1573, allocations: 7.969 kB / 477.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.1573, allocations: 19.98 kB / 477.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1574, allocations: 0 / 477.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.1574, allocations: 4 kB / 477.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1574, allocations: 4 kB / 477.3 MB, free: 8.34 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.0001157/0.1575, allocations: 142.2 kB / 477.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.1576, allocations: 19.8 kB / 477.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.1576, allocations: 25.33 kB / 477.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1576, allocations: 0 / 477.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1577, allocations: 4 kB / 477.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1577, allocations: 0 / 477.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.1582, allocations: 407.4 kB / 477.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1582, allocations: 0 / 477.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.1582, allocations: 11.94 kB / 477.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1583, allocations: 0 / 477.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1583, allocations: 4 kB / 477.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1583, allocations: 0 / 477.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1583, allocations: 4.031 kB / 477.9 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.1585, allocations: 212.1 kB / 478.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.1586, allocations: 88.92 kB / 478.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1586, allocations: 4 kB / 478.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.1587, allocations: 8 kB / 478.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.1587, allocations: 3.984 kB / 478.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.1588, allocations: 8 kB / 478.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.1589, allocations: 200.5 kB / 478.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.159, allocations: 0 / 478.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1592, allocations: 23.94 kB / 478.5 MB, free: 7.094 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.001073/0.1603, allocations: 475.9 kB / 478.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.1605, allocations: 51.97 kB / 479 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1605, allocations: 0 / 479 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.1606, allocations: 35.92 kB / 479 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1609, allocations: 27.94 kB / 479 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.1614, allocations: 320.8 kB / 479.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1618, allocations: 0.72 MB / 480.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.1618, allocations: 23.36 kB / 480.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1618, allocations: 0 / 480.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of Templates: time 0.004165/0.166, allocations: 2.027 MB / 482.1 MB, free: 3.555 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1CalcHelperMain.o] Error 1