Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.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.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") translateModel(ExternalMedia.Test.TestMedium.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006954/0.006953, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001227/0.001227, allocations: 192 kB / 16.79 MB, free: 5.809 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.373/1.373, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1375/0.1375, allocations: 2.772 MB / 293.4 MB, free: 3.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.84 kB / 354.4 MB, free: 5.043 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1108, allocations: 50.24 MB / 404.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.007928/0.1188, allocations: 7.542 MB / 412.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004468/0.1192, allocations: 0.5565 MB / 412.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.623e-05/0.1193, allocations: 0 / 412.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.1195, allocations: 63.73 kB / 412.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.16e-05/0.1195, allocations: 19.84 kB / 412.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.1197, allocations: 27.83 kB / 412.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.008e-05/0.1197, allocations: 27.75 kB / 412.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.1198, allocations: 4 kB / 412.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.1198, allocations: 15.94 kB / 412.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.1199, allocations: 11.92 kB / 412.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.1199, allocations: 0 / 412.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.1201, allocations: 43.92 kB / 412.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.1201, allocations: 3.938 kB / 412.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.1201, allocations: 11.94 kB / 412.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.911e-05/0.1202, allocations: 31.95 kB / 412.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1202, allocations: 0 / 412.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1202, allocations: 0 / 412.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1202, allocations: 0 / 412.9 MB, free: 10.36 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003453/0.1206, allocations: 343.4 kB / 413.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1206, allocations: 8.031 kB / 413.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.1207, allocations: 4.938 kB / 413.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.472e-05/0.1208, allocations: 164.3 kB / 413.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1208, allocations: 4.375 kB / 413.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.1208, allocations: 4.375 kB / 413.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1209, allocations: 61.69 kB / 413.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1209, allocations: 0 / 413.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.1209, allocations: 4 kB / 413.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.121, allocations: 4 kB / 413.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.312e-05/0.121, allocations: 23.98 kB / 413.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.1212, allocations: 169.6 kB / 413.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.775e-05/0.1212, allocations: 50.56 kB / 413.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.1213, allocations: 40.81 kB / 413.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1213, allocations: 3.938 kB / 413.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1213, allocations: 38.56 kB / 413.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.22e-07/0.1213, allocations: 0 / 413.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000202/0.1216, allocations: 121.8 kB / 414 MB, free: 9.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.1216, allocations: 51.41 kB / 414 MB, free: 9.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.378e-05/0.1216, allocations: 89.86 kB / 414.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1217, allocations: 29.64 kB / 414.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.1217, allocations: 88.38 kB / 414.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.1217, allocations: 43.3 kB / 414.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.1218, allocations: 13.72 kB / 414.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1219, allocations: 322.9 kB / 414.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.1219, allocations: 20 kB / 414.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.122, allocations: 27.92 kB / 414.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.855e-05/0.122, allocations: 64.34 kB / 414.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.122, allocations: 0 / 414.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001063/0.1222, allocations: 93.61 kB / 414.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1222, allocations: 8 kB / 414.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1222, allocations: 0 / 414.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1222, allocations: 0 / 414.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.1222, allocations: 4.062 kB / 414.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1222, allocations: 0 / 414.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.1222, allocations: 7.844 kB / 414.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1223, allocations: 4 kB / 414.8 MB, free: 8.266 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): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.568e-05/0.1223, allocations: 109.8 kB / 414.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-06/0.1223, allocations: 7.875 kB / 414.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.1225, allocations: 101.7 kB / 415 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1225, allocations: 3.984 kB / 415 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1225, allocations: 4.031 kB / 415 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1225, allocations: 7.922 kB / 415 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.1227, allocations: 177.5 kB / 415.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1227, allocations: 0 / 415.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-06/0.1227, allocations: 3.938 kB / 415.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1227, allocations: 0 / 415.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.1227, allocations: 0 / 415.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1227, allocations: 3.984 kB / 415.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1227, allocations: 0 / 415.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.1228, allocations: 121 kB / 415.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.1229, allocations: 84.95 kB / 415.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.1229, allocations: 4 kB / 415.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.824e-05/0.1229, allocations: 4 kB / 415.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.1229, allocations: 0 / 415.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.1229, allocations: 0 / 415.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.642e-05/0.123, allocations: 75.28 kB / 415.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.123, allocations: 0 / 415.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001921/0.1232, allocations: 12 kB / 415.5 MB, free: 7.461 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002694/0.1234, allocations: 132.9 kB / 415.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.1236, allocations: 67.98 kB / 415.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1236, allocations: 0 / 415.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.402e-05/0.1236, allocations: 39.92 kB / 415.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.124, allocations: 27.91 kB / 415.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.1243, allocations: 240.9 kB / 416 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1246, allocations: 0.6887 MB / 416.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.706e-06/0.1246, allocations: 7.438 kB / 416.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1246, allocations: 0 / 416.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of Templates: time 0.002034/0.1267, allocations: 0.7613 MB / 417.5 MB, free: 5.441 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestSatCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestSatCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestSatCalcHelperMain.o] Error 1