Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.MATTest.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/ExternData 3.0.3-master/package.mo", uses=false) Using package ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/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(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 99.2 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 173.5 kB / 16.58 MB, free: 6.418 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.564/1.564, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.2266/0.2266, allocations: 2.946 MB / 294.7 MB, free: 3.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 11.98 kB / 356.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1297, allocations: 51.35 MB / 407.8 MB, free: 336 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.00227/0.132, allocations: 1.2 MB / 409 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1341, allocations: 1.179 MB / 410.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.1342, allocations: 0 / 410.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.1346, allocations: 31.91 kB / 410.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.1347, allocations: 23.91 kB / 410.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.135, allocations: 59.5 kB / 410.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1352, allocations: 51.8 kB / 410.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.193e-05/0.1352, allocations: 0 / 410.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.968e-05/0.1353, allocations: 31.84 kB / 410.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.1355, allocations: 19.92 kB / 410.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.1355, allocations: 4 kB / 410.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.1357, allocations: 79.86 kB / 410.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.1358, allocations: 19.97 kB / 410.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.955e-05/0.1359, allocations: 37.64 kB / 410.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1361, allocations: 84.09 kB / 410.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1361, allocations: 0 / 410.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1361, allocations: 4 kB / 410.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1361, allocations: 0 / 410.7 MB, free: 13.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000608/0.1368, allocations: 376.9 kB / 411 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1368, allocations: 16.02 kB / 411 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.1369, allocations: 0 / 411 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.1372, allocations: 182.9 kB / 411.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1372, allocations: 11.89 kB / 411.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.1372, allocations: 0 / 411.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.1374, allocations: 61.67 kB / 411.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1375, allocations: 4 kB / 411.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1375, allocations: 0 / 411.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1375, allocations: 0 / 411.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.418e-05/0.1376, allocations: 39.91 kB / 411.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.1378, allocations: 169.6 kB / 411.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.293e-05/0.1379, allocations: 50.53 kB / 411.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.703e-05/0.138, allocations: 40.89 kB / 411.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.138, allocations: 4 kB / 411.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.1383, allocations: 117.2 kB / 411.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.1383, allocations: 0 / 411.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003742/0.1387, allocations: 187.2 kB / 411.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.1387, allocations: 81.11 kB / 412 MB, free: 11.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.1389, allocations: 121.8 kB / 412.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1389, allocations: 29.7 kB / 412.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.139, allocations: 88.14 kB / 412.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.139, allocations: 15.75 kB / 412.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.139, allocations: 4 kB / 412.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1392, allocations: 314.8 kB / 412.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.1392, allocations: 27.98 kB / 412.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.165e-05/0.1393, allocations: 31.94 kB / 412.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.399e-05/0.1394, allocations: 61.59 kB / 412.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1394, allocations: 0 / 412.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002445/0.1396, allocations: 159.2 kB / 412.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.1397, allocations: 37.69 kB / 412.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1397, allocations: 7.938 kB / 412.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1397, allocations: 0 / 412.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.1398, allocations: 4 kB / 412.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1398, allocations: 3.938 kB / 412.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.156e-05/0.1399, allocations: 4.469 kB / 412.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.1399, allocations: 4 kB / 412.9 MB, free: 11.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001588/0.1401, allocations: 151.5 kB / 413 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.1401, allocations: 15.86 kB / 413 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.1402, allocations: 12.36 kB / 413 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1402, allocations: 3.938 kB / 413 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1402, allocations: 0 / 413 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1402, allocations: 0 / 413 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.1404, allocations: 185.6 kB / 413.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1404, allocations: 0 / 413.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.77e-05/0.1404, allocations: 4 kB / 413.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1404, allocations: 3.953 kB / 413.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1404, allocations: 4 kB / 413.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1404, allocations: 4 kB / 413.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1404, allocations: 0 / 413.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.1408, allocations: 210.6 kB / 413.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.1408, allocations: 93.03 kB / 413.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1409, allocations: 3.953 kB / 413.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.533e-05/0.1409, allocations: 4 kB / 413.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.141, allocations: 4 kB / 413.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.141, allocations: 3.984 kB / 413.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.744e-05/0.1411, allocations: 95.28 kB / 413.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1411, allocations: 4 kB / 413.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1413, allocations: 39.98 kB / 413.7 MB, free: 10.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.000721/0.1421, allocations: 261.7 kB / 413.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.1423, allocations: 163.2 kB / 414.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1424, allocations: 4 kB / 414.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.1425, allocations: 123.4 kB / 414.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.1427, allocations: 8 kB / 414.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.1432, allocations: 198.5 kB / 414.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.1435, allocations: 0.6961 MB / 415.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.1436, allocations: 11.44 kB / 415.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1436, allocations: 0 / 415.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of Templates: time 0.004597/0.1482, allocations: 1.451 MB / 416.6 MB, free: 7.168 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.MATTest.makefile make -j1 -f ExternData_ExternData.Examples.MATTest.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/ExternData 3.0.3-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppExternData_ExternData.Examples.MATTestCalcHelperMain.o OMCppExternData_ExternData.Examples.MATTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternData_ExternData.Examples.MATTestCalcHelperMain.o] Error 1