Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.001015, 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.001184/0.001184, allocations: 193 kB / 16.79 MB, free: 6.812 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.367/1.367, 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.1413/0.1413, allocations: 2.768 MB / 293.4 MB, free: 3.805 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 51.92 kB / 354.4 MB, free: 5.016 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09912/0.1002, allocations: 50.24 MB / 404.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit): time 0.297/0.3973, allocations: 96.49 MB / 0.4893 GB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05244/0.4498, allocations: 59.07 MB / 0.547 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.4516, allocations: 4 kB / 0.547 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003908/0.4555, allocations: 1.286 MB / 0.5483 GB, free: 4.422 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02419/0.4798, allocations: 6.744 MB / 0.5549 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01048/0.4903, allocations: 2.681 MB / 0.5575 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003317/0.4936, allocations: 1.767 MB / 0.5592 GB, free: 9.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.494, allocations: 133.1 kB / 0.5593 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0071/0.5011, allocations: 0.6981 MB / 0.56 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.5022, allocations: 0.5752 MB / 0.5606 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.748e-05/0.5023, allocations: 32 kB / 0.5606 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02081/0.5231, allocations: 3.941 MB / 0.5645 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005341/0.5236, allocations: 166.9 kB / 0.5646 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.5252, allocations: 0.6801 MB / 0.5653 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006252/0.5315, allocations: 2.798 MB / 0.568 GB, free: 196 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5315, allocations: 0 / 0.568 GB, free: 196 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5315, allocations: 4 kB / 0.568 GB, free: 192 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.5315, allocations: 4 kB / 0.568 GB, free: 188 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 0.003309/0.5348, allocations: 2.006 MB / 0.57 GB, free: 14.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5349, allocations: 11.98 kB / 0.57 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004984/0.5399, allocations: 1.404 MB / 0.5714 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008028/0.5407, allocations: 0.4907 MB / 0.5718 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.385e-05/0.5408, allocations: 86.52 kB / 0.5719 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.541, allocations: 104.4 kB / 0.572 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/0.5438, allocations: 1.909 MB / 0.5739 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.5439, allocations: 7.922 kB / 0.5739 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-05/0.5439, allocations: 44 kB / 0.5739 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.691e-05/0.544, allocations: 95.92 kB / 0.574 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.5466, allocations: 1.835 MB / 0.5758 GB, free: 8.035 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2302/0.7767, allocations: 9.169 MB / 0.5848 GB, free: 137.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.7782, allocations: 0.7729 MB / 0.5855 GB, free: 137.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007147/0.779, allocations: 0.6639 MB / 0.5862 GB, free: 137.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002279/0.7812, allocations: 2.884 MB / 0.589 GB, free: 135.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.7813, allocations: 41.84 kB / 0.589 GB, free: 135.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=193): time 3.106e-06/0.7813, allocations: 0 / 0.589 GB, free: 135.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=193): time 0.002325/0.7836, allocations: 1.331 MB / 0.5903 GB, free: 135 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.7837, allocations: 80.42 kB / 0.5904 GB, free: 134.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.7838, allocations: 210.6 kB / 0.5906 GB, free: 134.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.7839, allocations: 32.83 kB / 0.5906 GB, free: 134.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.7841, allocations: 446.7 kB / 0.5911 GB, free: 134.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.7844, allocations: 0.5951 MB / 0.5916 GB, free: 133.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.7846, allocations: 176.6 kB / 0.5918 GB, free: 133.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.7847, allocations: 313.9 kB / 0.5921 GB, free: 133.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/0.7851, allocations: 286.5 kB / 0.5924 GB, free: 133.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/0.7857, allocations: 0.5404 MB / 0.5929 GB, free: 133 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.7868, allocations: 0.992 MB / 0.5939 GB, free: 132.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.7868, allocations: 7.188 kB / 0.5939 GB, free: 132.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001404/0.7882, allocations: 0.9823 MB / 0.5949 GB, free: 131.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.7883, allocations: 7.469 kB / 0.5949 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.7883, allocations: 6.438 kB / 0.5949 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.7883, allocations: 13.44 kB / 0.5949 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.7886, allocations: 87.38 kB / 0.595 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.7886, allocations: 13.25 kB / 0.595 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006805/0.7893, allocations: 159.1 kB / 0.5951 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.7894, allocations: 39.72 kB / 0.5952 GB, free: 131.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 14 (medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004554/0.7899, allocations: 300.4 kB / 0.5955 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.79, allocations: 57.97 kB / 0.5955 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.7928, allocations: 2.752 MB / 0.5982 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002273/0.7951, allocations: 2.252 MB / 0.6004 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.7951, allocations: 0 / 0.6004 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.7951, allocations: 13.5 kB / 0.6004 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006238/0.8014, allocations: 5.465 MB / 0.6057 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.8014, allocations: 6.344 kB / 0.6057 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/0.8022, allocations: 297.2 kB / 0.606 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.8022, allocations: 8.125 kB / 0.606 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/0.8023, allocations: 35.91 kB / 0.6061 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.8023, allocations: 6.562 kB / 0.6061 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8023, allocations: 7.188 kB / 0.6061 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.8046, allocations: 2.134 MB / 0.6082 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/0.805, allocations: 235.1 kB / 0.6084 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.47e-05/0.8051, allocations: 37.56 kB / 0.6084 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007512/0.8058, allocations: 190.9 kB / 0.6086 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.806, allocations: 113.5 kB / 0.6087 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.898e-05/0.8061, allocations: 48.25 kB / 0.6088 GB, free: 125.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.8062, allocations: 134.7 kB / 0.6089 GB, free: 125 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8062, allocations: 0 / 0.6089 GB, free: 125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001356/0.8076, allocations: 0.505 MB / 0.6094 GB, free: 124.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 22 (medium1.completeState.state.phase,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,$cse7.phase,$cse8.phase,$cse9.phase,$cse10.phase,$cse12.phase,medium1.baseProperties.phaseOutput,medium2.completeState.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,$cse1.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse6.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0008266/0.8084, allocations: 0.5413 MB / 0.6099 GB, free: 124.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.8108, allocations: 2.293 MB / 0.6122 GB, free: 123.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.8108, allocations: 0 / 0.6122 GB, free: 123.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.8119, allocations: 1.04 MB / 0.6132 GB, free: 122.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/0.8159, allocations: 0.9392 MB / 0.6141 GB, free: 122.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/0.8207, allocations: 4.094 MB / 0.6181 GB, free: 120.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009198/0.8217, allocations: 1.412 MB / 0.6195 GB, free: 119.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.8219, allocations: 112.6 kB / 0.6196 GB, free: 119.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.392e-06/0.8219, allocations: 0 / 0.6196 GB, free: 119.5 MB / 446.1 MB Notification: Performance of Templates: time 0.04427/0.8662, allocations: 20.24 MB / 0.6393 GB, free: 116.2 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.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.TestBasePropertiesExplicitCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicitCalcHelperMain.o] Error 1