Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.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/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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(ExternalMedia.Test.TestMedium.TestConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants") translateModel(ExternalMedia.Test.TestMedium.TestConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 96.14 kB / 15.87 MB, free: 16 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.001167/0.001167, allocations: 198.2 kB / 16.79 MB, free: 6.828 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1466/0.1466, allocations: 2.752 MB / 293.4 MB, free: 3.797 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 55.91 kB / 354.4 MB, free: 5.023 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1042, allocations: 50.23 MB / 404.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.008116/0.1123, allocations: 7.336 MB / 411.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 5.651e-06/0.1124, allocations: 0 / 411.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.256e-05/0.1124, allocations: 4 kB / 411.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.1124, allocations: 0 / 411.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.1127, allocations: 104.3 kB / 412 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.635e-06/0.1127, allocations: 0 / 412 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.223e-05/0.1128, allocations: 4 kB / 412 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.188e-05/0.1128, allocations: 0 / 412 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01886/0.1317, allocations: 42.56 kB / 412.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.37e-05/0.1318, allocations: 4 kB / 412.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.025e-06/0.1318, allocations: 0 / 412.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.55e-06/0.1318, allocations: 3.938 kB / 412.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.083e-06/0.1318, allocations: 0 / 412.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.1318, allocations: 0 / 412.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.405e-05/0.1319, allocations: 0 / 412.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.1319, allocations: 0 / 412.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1319, allocations: 4 kB / 412.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.1319, allocations: 0 / 412.1 MB, free: 11.21 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003763/0.1323, allocations: 315.5 kB / 412.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.1324, allocations: 12.09 kB / 412.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.1324, allocations: 0.9375 kB / 412.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.1326, allocations: 164.4 kB / 412.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.1326, allocations: 4.312 kB / 412.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.1326, allocations: 4.312 kB / 412.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.1327, allocations: 33.83 kB / 412.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1328, allocations: 0 / 412.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1328, allocations: 0 / 412.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.1328, allocations: 4 kB / 412.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.667e-05/0.1328, allocations: 3.984 kB / 412.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.1333, allocations: 383.4 kB / 413 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.1334, allocations: 169.1 kB / 413.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.1334, allocations: 80.14 kB / 413.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.1335, allocations: 79.28 kB / 413.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.1336, allocations: 109.9 kB / 413.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.1336, allocations: 0 / 413.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.823e-05/0.1337, allocations: 29.69 kB / 413.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/0.1337, allocations: 134.6 kB / 413.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1339, allocations: 89.86 kB / 413.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1339, allocations: 29.83 kB / 413.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.1339, allocations: 84.14 kB / 413.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-06/0.134, allocations: 0 / 413.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.134, allocations: 9.719 kB / 413.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1342, allocations: 314.8 kB / 414.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.1342, allocations: 4 kB / 414.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.086e-05/0.1342, allocations: 7.984 kB / 414.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.358e-05/0.1343, allocations: 8.922 kB / 414.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1343, allocations: 0 / 414.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001188/0.1344, allocations: 33.7 kB / 414.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1344, allocations: 7.938 kB / 414.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1344, allocations: 0 / 414.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1344, allocations: 0 / 414.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.1345, allocations: 4 kB / 414.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.1345, allocations: 3.984 kB / 414.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.1346, allocations: 3.938 kB / 414.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.1346, allocations: 0 / 414.2 MB, free: 8.898 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.1347, allocations: 193.1 kB / 414.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.558e-05/0.1348, allocations: 109 kB / 414.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.1349, allocations: 112 kB / 414.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.991e-05/0.135, allocations: 176.3 kB / 414.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-05/0.1351, allocations: 184.2 kB / 414.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.895e-05/0.1352, allocations: 188.2 kB / 415.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.1355, allocations: 405.2 kB / 415.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.197e-05/0.1356, allocations: 104.9 kB / 415.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.1356, allocations: 101 kB / 415.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.1357, allocations: 184.2 kB / 415.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/0.1359, allocations: 180.2 kB / 416.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.932e-05/0.136, allocations: 184.3 kB / 416.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001143/0.1361, allocations: 180.2 kB / 416.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.1364, allocations: 307.8 kB / 416.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.1365, allocations: 186 kB / 416.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.1367, allocations: 180.3 kB / 417.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.1368, allocations: 108.9 kB / 417.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.1369, allocations: 184.2 kB / 417.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/0.137, allocations: 105 kB / 417.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.607e-05/0.137, allocations: 79.22 kB / 417.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1371, allocations: 0 / 417.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003223/0.1374, allocations: 0 / 417.5 MB, free: 5.301 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001899/0.1376, allocations: 170.6 kB / 417.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.778e-05/0.1377, allocations: 0 / 417.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1377, allocations: 4 kB / 417.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.1377, allocations: 0 / 417.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000655/0.1384, allocations: 0.5302 MB / 418.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.1388, allocations: 192.1 kB / 418.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.1392, allocations: 0.6692 MB / 419.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.1393, allocations: 7.438 kB / 419.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1393, allocations: 0 / 419.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of Templates: time 0.00173/0.141, allocations: 320.2 kB / 419.4 MB, free: 3.348 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestConstantsCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestConstantsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestConstantsCalcHelperMain.o] Error 1