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.00108/0.00108, allocations: 102.7 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.001449/0.001449, allocations: 175.6 kB / 16.58 MB, free: 6.863 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.52/1.52, allocations: 223.2 MB / 240.6 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1766/0.1766, allocations: 2.786 MB / 294.5 MB, free: 4.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004484, allocations: 8 kB / 356.2 MB, free: 4.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1292, allocations: 51.25 MB / 407.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.01099/0.1403, allocations: 6.799 MB / 414.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000674/0.141, allocations: 0.5182 MB / 414.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.141, allocations: 4 kB / 414.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.1413, allocations: 55.69 kB / 414.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.833e-05/0.1413, allocations: 23.83 kB / 414.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.1415, allocations: 27.77 kB / 414.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.922e-05/0.1416, allocations: 31.75 kB / 414.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.066e-05/0.1417, allocations: 0 / 414.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.9e-05/0.1417, allocations: 8 kB / 415 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.1418, allocations: 23.88 kB / 415 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1418, allocations: 0 / 415 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.1421, allocations: 35.98 kB / 415 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.1421, allocations: 7.922 kB / 415 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.1421, allocations: 29.7 kB / 415 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.1423, allocations: 31.95 kB / 415.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1423, allocations: 0 / 415.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1423, allocations: 0 / 415.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1423, allocations: 0 / 415.1 MB, free: 9.441 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.0003977/0.1427, allocations: 339.2 kB / 415.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.1428, allocations: 8.031 kB / 415.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.1428, allocations: 4 kB / 415.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1429, allocations: 170.9 kB / 415.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.143, allocations: 0 / 415.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.143, allocations: 0 / 415.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1431, allocations: 53.69 kB / 415.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1432, allocations: 0 / 415.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1432, allocations: 3.953 kB / 415.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.1432, allocations: 4 kB / 415.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.594e-05/0.1433, allocations: 27.98 kB / 415.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.1435, allocations: 169.6 kB / 415.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.691e-05/0.1436, allocations: 54.62 kB / 415.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.1436, allocations: 37.02 kB / 415.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1437, allocations: 0 / 415.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.1437, allocations: 38.55 kB / 416 MB, free: 8.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.1437, allocations: 0 / 416 MB, free: 8.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002883/0.144, allocations: 129.5 kB / 416.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.1441, allocations: 51.41 kB / 416.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/0.1442, allocations: 93.8 kB / 416.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1442, allocations: 25.7 kB / 416.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.1442, allocations: 84.31 kB / 416.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.888e-05/0.1443, allocations: 43.3 kB / 416.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.1443, allocations: 0 / 416.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1445, allocations: 318.8 kB / 416.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.1446, allocations: 24.02 kB / 416.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.1446, allocations: 24 kB / 416.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.77e-05/0.1447, allocations: 27.98 kB / 416.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1447, allocations: 3.938 kB / 416.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001502/0.1448, allocations: 89.56 kB / 416.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1449, allocations: 4 kB / 416.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.1449, allocations: 0 / 416.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1449, allocations: 3.984 kB / 416.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-06/0.1449, allocations: 4 kB / 416.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1449, allocations: 3.953 kB / 416.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.145, allocations: 7.969 kB / 416.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.145, allocations: 0 / 416.9 MB, free: 7.418 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.1451, allocations: 109.8 kB / 417 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.1452, allocations: 7.938 kB / 417 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.1453, allocations: 101.6 kB / 417.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1454, allocations: 4 kB / 417.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1454, allocations: 4 kB / 417.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1454, allocations: 3.953 kB / 417.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.1456, allocations: 173.6 kB / 417.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1456, allocations: 0 / 417.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.1456, allocations: 0 / 417.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1456, allocations: 0 / 417.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1456, allocations: 4 kB / 417.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1456, allocations: 0 / 417.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1456, allocations: 0 / 417.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.1458, allocations: 117 kB / 417.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.1458, allocations: 84.95 kB / 417.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1459, allocations: 8.031 kB / 417.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.53e-05/0.1459, allocations: 0 / 417.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.1459, allocations: 3.984 kB / 417.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.1459, allocations: 3.938 kB / 417.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.39e-05/0.146, allocations: 75.28 kB / 417.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.146, allocations: 0 / 417.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003363/0.1463, allocations: 12 kB / 417.6 MB, free: 6.621 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 (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.0003022/0.1467, allocations: 135 kB / 417.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.1468, allocations: 63.97 kB / 417.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1468, allocations: 0 / 417.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.036e-05/0.1469, allocations: 39.94 kB / 417.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.1474, allocations: 32.05 kB / 417.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.1478, allocations: 256.1 kB / 418.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.1482, allocations: 0.6887 MB / 418.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.167e-05/0.1482, allocations: 7.438 kB / 418.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1482, allocations: 0 / 418.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of Templates: time 0.002618/0.1508, allocations: 0.7459 MB / 419.5 MB, free: 4.598 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.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/ExternalMedia 4.0.0/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/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