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.0008521/0.0008522, allocations: 91.92 kB / 16.02 MB, free: 80 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.0009543/0.000954, allocations: 180.5 kB / 16.92 MB, free: 6.652 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.533/1.533, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1754/0.1754, allocations: 2.779 MB / 294.9 MB, free: 4.219 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003422, allocations: 15.98 kB / 356.9 MB, free: 3.938 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1252, allocations: 51.25 MB / 408.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.007581/0.1328, allocations: 6.923 MB / 415 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 9.528e-06/0.1329, allocations: 7.984 kB / 415.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.257e-05/0.1329, allocations: 0 / 415.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.1329, allocations: 3.938 kB / 415.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.1333, allocations: 108.4 kB / 415.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.456e-06/0.1333, allocations: 4 kB / 415.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.051e-05/0.1334, allocations: 3.938 kB / 415.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.1334, allocations: 0 / 415.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01837/0.1518, allocations: 29.75 kB / 415.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.225e-05/0.1519, allocations: 4 kB / 415.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.795e-06/0.1519, allocations: 0 / 415.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.15e-06/0.1519, allocations: 0 / 415.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.1519, allocations: 3.984 kB / 415.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.1519, allocations: 29.7 kB / 415.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.075e-05/0.152, allocations: 0 / 415.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.152, allocations: 0 / 415.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.152, allocations: 4 kB / 415.2 MB, free: 9.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.152, allocations: 0 / 415.2 MB, free: 9.48 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.0004653/0.1525, allocations: 314.1 kB / 415.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.1525, allocations: 8.094 kB / 415.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.1526, allocations: 4.938 kB / 415.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1527, allocations: 160.4 kB / 415.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.1527, allocations: 4.375 kB / 415.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.1527, allocations: 8.297 kB / 415.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.629e-05/0.1528, allocations: 29.83 kB / 415.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1528, allocations: 0 / 415.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.1529, allocations: 0 / 415.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1529, allocations: 4 kB / 415.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.1529, allocations: 3.938 kB / 415.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.1533, allocations: 383.4 kB / 416.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.703e-05/0.1534, allocations: 173.1 kB / 416.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.1534, allocations: 80.14 kB / 416.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.1534, allocations: 75.28 kB / 416.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.1535, allocations: 113.8 kB / 416.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1535, allocations: 0 / 416.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.878e-05/0.1536, allocations: 33.7 kB / 416.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.1537, allocations: 126.7 kB / 416.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.1538, allocations: 89.86 kB / 416.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.1539, allocations: 25.7 kB / 416.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.1539, allocations: 80.14 kB / 416.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.1539, allocations: 0 / 416.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.1539, allocations: 13.72 kB / 416.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1541, allocations: 326.8 kB / 417.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.804e-05/0.1542, allocations: 4 kB / 417.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-06/0.1542, allocations: 0 / 417.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.832e-05/0.1542, allocations: 12.8 kB / 417.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1542, allocations: 0 / 417.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.082e-05/0.1543, allocations: 29.7 kB / 417.3 MB, free: 7.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1543, allocations: 4 kB / 417.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1544, allocations: 3.984 kB / 417.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1544, allocations: 96 / 417.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-05/0.1544, allocations: 8 kB / 417.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1544, allocations: 0 / 417.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.154e-05/0.1545, allocations: 0 / 417.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1545, allocations: 3.984 kB / 417.3 MB, free: 7.176 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.00016/0.1546, allocations: 189.1 kB / 417.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.1547, allocations: 108.9 kB / 417.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.758e-05/0.1548, allocations: 108.1 kB / 417.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.057e-05/0.1549, allocations: 184.2 kB / 417.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001209/0.155, allocations: 188.2 kB / 418.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.642e-05/0.1551, allocations: 176.3 kB / 418.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.1554, allocations: 405.1 kB / 418.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.679e-05/0.1554, allocations: 101 kB / 418.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.1555, allocations: 116.9 kB / 418.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.42e-05/0.1555, allocations: 180.2 kB / 419 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.237e-05/0.1556, allocations: 176.3 kB / 419.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.03e-05/0.1557, allocations: 184.2 kB / 419.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-05/0.1558, allocations: 180.3 kB / 419.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.1559, allocations: 315.7 kB / 419.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.447e-05/0.156, allocations: 178.1 kB / 420 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.563e-05/0.1561, allocations: 180.2 kB / 420.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.893e-05/0.1562, allocations: 109 kB / 420.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.1563, allocations: 184.2 kB / 420.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.1563, allocations: 109 kB / 420.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.255e-05/0.1563, allocations: 75.28 kB / 420.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1563, allocations: 0 / 420.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.1566, allocations: 4 kB / 420.7 MB, free: 3.578 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.0001159/0.1567, allocations: 162.5 kB / 420.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.721e-05/0.1568, allocations: 4 kB / 420.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1568, allocations: 0 / 420.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.1568, allocations: 8.094 kB / 420.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.1573, allocations: 0.5244 MB / 421.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.1576, allocations: 189.5 kB / 421.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.1582, allocations: 0.6731 MB / 422.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.1582, allocations: 7.438 kB / 422.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1582, allocations: 7.938 kB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of Templates: time 0.001675/0.1601, allocations: 316.3 kB / 422.6 MB, free: 1.625 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