Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009076/0.0009077, allocations: 91.12 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.001158/0.001158, allocations: 181.8 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.481/1.481, 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.2276/0.2276, allocations: 44.22 MB / 337.9 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003133, allocations: 8 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1509, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002182/0.1531, allocations: 1.398 MB / 473.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.1552, allocations: 1.374 MB / 475 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.678e-05/0.1553, allocations: 0 / 475 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.1557, allocations: 27.89 kB / 475 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1559, allocations: 59.7 kB / 475.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1562, allocations: 83.34 kB / 475.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1564, allocations: 91.67 kB / 475.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1565, allocations: 12.23 kB / 475.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.683e-05/0.1566, allocations: 35.8 kB / 475.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.1567, allocations: 35.83 kB / 475.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1568, allocations: 0 / 475.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1569, allocations: 47.98 kB / 475.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.1569, allocations: 11.92 kB / 475.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.157, allocations: 33.7 kB / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1572, allocations: 92.08 kB / 475.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1572, allocations: 3.938 kB / 475.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.1572, allocations: 4 kB / 475.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1572, allocations: 7.938 kB / 475.5 MB, free: 10.38 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.0006962/0.1579, allocations: 383.1 kB / 475.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.158, allocations: 12.03 kB / 475.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.1581, allocations: 11.81 kB / 475.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.1583, allocations: 201.5 kB / 476.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1584, allocations: 3.953 kB / 476.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1584, allocations: 4 kB / 476.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1586, allocations: 75.33 kB / 476.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1586, allocations: 0 / 476.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1586, allocations: 0 / 476.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1586, allocations: 0 / 476.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.609e-05/0.1587, allocations: 23.98 kB / 476.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1591, allocations: 276.8 kB / 476.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.1592, allocations: 66.61 kB / 476.5 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.1593, allocations: 20.84 kB / 476.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1593, allocations: 7.984 kB / 476.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.1595, allocations: 63.39 kB / 476.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1595, allocations: 3.938 kB / 476.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005484/0.1601, allocations: 181.2 kB / 476.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.1602, allocations: 77.11 kB / 476.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.1603, allocations: 149.8 kB / 477 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1603, allocations: 25.7 kB / 477.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.1604, allocations: 100.1 kB / 477.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.1604, allocations: 19.7 kB / 477.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.1604, allocations: 4 kB / 477.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1606, allocations: 326.8 kB / 477.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.258e-05/0.1606, allocations: 15.98 kB / 477.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.1607, allocations: 54.44 kB / 477.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.639e-05/0.1608, allocations: 20 kB / 477.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1608, allocations: 0 / 477.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001715/0.1609, allocations: 93.58 kB / 477.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.161, allocations: 10.28 kB / 477.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.161, allocations: 8.062 kB / 477.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.161, allocations: 0 / 477.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.1611, allocations: 16 kB / 477.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1611, allocations: 3.984 kB / 477.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.1612, allocations: 7.938 kB / 477.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1612, allocations: 7.953 kB / 477.7 MB, free: 7.91 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.0001454/0.1613, allocations: 114.4 kB / 477.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.1614, allocations: 15.81 kB / 477.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.1614, allocations: 16.7 kB / 477.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1614, allocations: 4 kB / 477.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1614, allocations: 0 / 477.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1614, allocations: 0 / 477.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.1619, allocations: 395.4 kB / 478.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.162, allocations: 0 / 478.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.162, allocations: 15.92 kB / 478.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.162, allocations: 0 / 478.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.162, allocations: 8.031 kB / 478.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.162, allocations: 4 kB / 478.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.162, allocations: 3.953 kB / 478.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1623, allocations: 192.3 kB / 478.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.1624, allocations: 89 kB / 478.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.1624, allocations: 7.938 kB / 478.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.1625, allocations: 8 kB / 478.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.1625, allocations: 11.94 kB / 478.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1625, allocations: 4 kB / 478.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.1626, allocations: 121.4 kB / 478.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1627, allocations: 0 / 478.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1629, allocations: 32 kB / 478.7 MB, free: 6.781 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.001184/0.1641, allocations: 0.4962 MB / 479.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1643, allocations: 59.92 kB / 479.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.1643, allocations: 0 / 479.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.658e-05/0.1644, allocations: 35.92 kB / 479.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.1647, allocations: 24.28 kB / 479.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.1652, allocations: 239.9 kB / 479.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.1655, allocations: 0.7014 MB / 480.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.1655, allocations: 19.44 kB / 480.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1655, allocations: 3.938 kB / 480.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of Templates: time 0.00416/0.1697, allocations: 2.02 MB / 482.3 MB, free: 3.328 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57CalcHelperMain.o] Error 1