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.0009919/0.0009919, allocations: 103 kB / 15.71 MB, free: 460 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.001141/0.001141, allocations: 179.5 kB / 16.58 MB, free: 6.148 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.515/1.515, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1623/0.1623, allocations: 2.779 MB / 294.5 MB, free: 4.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003338, allocations: 8 kB / 356.2 MB, free: 4.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1352, allocations: 51.26 MB / 407.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.009563/0.1448, allocations: 6.616 MB / 414.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 9.748e-06/0.1449, allocations: 3.984 kB / 414.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.1449, allocations: 0 / 414.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.145, allocations: 0 / 414.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.1454, allocations: 111.4 kB / 414.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.592e-06/0.1454, allocations: 4 kB / 414.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.341e-05/0.1454, allocations: 4 kB / 414.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.1455, allocations: 0 / 414.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0201/0.1656, allocations: 19.86 kB / 414.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.656e-05/0.1657, allocations: 0 / 414.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1657, allocations: 0 / 414.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.1657, allocations: 0 / 414.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.1657, allocations: 3.984 kB / 414.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.1658, allocations: 29.7 kB / 414.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.271e-05/0.1658, allocations: 0 / 414.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.1658, allocations: 0 / 414.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.1658, allocations: 0 / 414.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1658, allocations: 4 kB / 414.3 MB, free: 10.25 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.0003516/0.1662, allocations: 311.4 kB / 414.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.1663, allocations: 8.031 kB / 414.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.1663, allocations: 0 / 414.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.1664, allocations: 167 kB / 414.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1665, allocations: 0 / 414.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.1665, allocations: 0 / 414.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1666, allocations: 29.7 kB / 414.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1666, allocations: 0 / 414.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1666, allocations: 11.94 kB / 414.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1666, allocations: 3.938 kB / 414.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.051e-05/0.1667, allocations: 0 / 414.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.1671, allocations: 383.4 kB / 415.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.1672, allocations: 169.1 kB / 415.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.1672, allocations: 84.14 kB / 415.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.1673, allocations: 75.28 kB / 415.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.485e-05/0.1674, allocations: 113.8 kB / 415.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1674, allocations: 0 / 415.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.234e-05/0.1675, allocations: 29.64 kB / 415.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/0.1676, allocations: 134.7 kB / 415.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/0.1677, allocations: 97.86 kB / 415.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1677, allocations: 25.7 kB / 415.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.1677, allocations: 80.14 kB / 416 MB, free: 8.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.1677, allocations: 0 / 416 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.1678, allocations: 0 / 416 MB, free: 8.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1679, allocations: 310.8 kB / 416.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.1679, allocations: 0 / 416.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/0.1679, allocations: 7.938 kB / 416.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.1679, allocations: 4.188 kB / 416.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.168, allocations: 0 / 416.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001102/0.1681, allocations: 37.69 kB / 416.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1681, allocations: 7.953 kB / 416.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1681, allocations: 4 kB / 416.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1681, allocations: 3.938 kB / 416.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.1682, allocations: 0 / 416.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1682, allocations: 0 / 416.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.201e-05/0.1682, allocations: 0 / 416.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1682, allocations: 4 kB / 416.3 MB, free: 7.973 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.1684, allocations: 185.2 kB / 416.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.1684, allocations: 101 kB / 416.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/0.1685, allocations: 116 kB / 416.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.616e-05/0.1686, allocations: 184.3 kB / 416.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.62e-05/0.1687, allocations: 176.3 kB / 417.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001956/0.1689, allocations: 188.2 kB / 417.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.1693, allocations: 401.2 kB / 417.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.83e-05/0.1694, allocations: 108.9 kB / 417.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.915e-05/0.1695, allocations: 108.9 kB / 417.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.1696, allocations: 176.3 kB / 418 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.1697, allocations: 180.2 kB / 418.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.738e-05/0.1698, allocations: 192.2 kB / 418.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-05/0.1699, allocations: 180.2 kB / 418.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.17, allocations: 299.8 kB / 418.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/0.1701, allocations: 186 kB / 419.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.681e-05/0.1702, allocations: 180.3 kB / 419.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.447e-05/0.1703, allocations: 108.9 kB / 419.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1704, allocations: 180.2 kB / 419.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/0.1705, allocations: 105 kB / 419.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.452e-05/0.1706, allocations: 75.28 kB / 419.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1706, allocations: 3.938 kB / 419.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1708, allocations: 4.094 kB / 419.7 MB, free: 4.387 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 (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.0001554/0.171, allocations: 170.5 kB / 419.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.709e-05/0.1711, allocations: 4 kB / 419.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1711, allocations: 0 / 419.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.1711, allocations: 0 / 419.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007061/0.1718, allocations: 0.5225 MB / 420.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.1722, allocations: 189.6 kB / 420.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.1727, allocations: 0.6769 MB / 421.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.1728, allocations: 11.44 kB / 421.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1728, allocations: 0 / 421.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of Templates: time 0.001846/0.1746, allocations: 315.9 kB / 421.6 MB, free: 2.434 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.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 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