Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001038, 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.0009837/0.0009838, allocations: 199.6 kB / 16.79 MB, free: 6.828 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.33/1.33, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1618/0.1618, allocations: 2.765 MB / 293.4 MB, free: 3.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 63.89 kB / 354.4 MB, free: 5.051 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1162, allocations: 50.23 MB / 404.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit): time 0.2911/0.4072, allocations: 96.49 MB / 0.4893 GB, free: 4.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05027/0.4575, allocations: 59.07 MB / 0.547 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.4594, allocations: 4 kB / 0.547 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004219/0.4637, allocations: 1.287 MB / 0.5483 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02692/0.4906, allocations: 6.737 MB / 0.5549 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01133/0.502, allocations: 2.699 MB / 0.5575 GB, free: 11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004478/0.5065, allocations: 1.771 MB / 0.5592 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000493/0.507, allocations: 137.8 kB / 0.5594 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008154/0.5152, allocations: 0.6817 MB / 0.56 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.5163, allocations: 0.5752 MB / 0.5606 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.388e-05/0.5163, allocations: 36 kB / 0.5606 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0211/0.5375, allocations: 3.945 MB / 0.5645 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000416/0.5379, allocations: 170.9 kB / 0.5646 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.5395, allocations: 0.6724 MB / 0.5653 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006096/0.5456, allocations: 2.802 MB / 0.568 GB, free: 248 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.5456, allocations: 0 / 0.568 GB, free: 248 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5457, allocations: 0 / 0.568 GB, free: 248 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.899e-05/0.5457, allocations: 0 / 0.568 GB, free: 248 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.004235/0.55, allocations: 2.018 MB / 0.57 GB, free: 14.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.55, allocations: 8.031 kB / 0.57 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005071/0.5551, allocations: 1.408 MB / 0.5714 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008723/0.556, allocations: 498.6 kB / 0.5719 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.39e-05/0.5561, allocations: 82.52 kB / 0.5719 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.5562, allocations: 112.3 kB / 0.572 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.559, allocations: 1.906 MB / 0.5739 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.5591, allocations: 4 kB / 0.5739 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.448e-05/0.5592, allocations: 47.98 kB / 0.5739 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.387e-05/0.5592, allocations: 87.94 kB / 0.574 GB, free: 9.934 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.5618, allocations: 1.843 MB / 0.5758 GB, free: 8.086 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2331/0.7949, allocations: 9.193 MB / 0.5848 GB, free: 137.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.7966, allocations: 0.7994 MB / 0.5856 GB, free: 137.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007368/0.7973, allocations: 0.6858 MB / 0.5863 GB, free: 137.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002292/0.7996, allocations: 2.912 MB / 0.5891 GB, free: 135.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.7997, allocations: 39.84 kB / 0.5891 GB, free: 135.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 2.574e-06/0.7997, allocations: 0 / 0.5891 GB, free: 135.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.002623/0.8023, allocations: 1.385 MB / 0.5905 GB, free: 134.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.8024, allocations: 80.08 kB / 0.5906 GB, free: 134.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.8026, allocations: 213 kB / 0.5908 GB, free: 134.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.8026, allocations: 29.7 kB / 0.5908 GB, free: 134.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.8028, allocations: 447.5 kB / 0.5912 GB, free: 134.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.8031, allocations: 0.6027 MB / 0.5918 GB, free: 133.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.8034, allocations: 173.3 kB / 0.592 GB, free: 133.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.8034, allocations: 313.1 kB / 0.5923 GB, free: 133.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.8039, allocations: 307.8 kB / 0.5926 GB, free: 133.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/0.8046, allocations: 0.5473 MB / 0.5931 GB, free: 132.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.8058, allocations: 1.015 MB / 0.5941 GB, free: 132 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.8058, allocations: 3.125 kB / 0.5941 GB, free: 132 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001531/0.8074, allocations: 1.011 MB / 0.5951 GB, free: 131.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.8074, allocations: 10.56 kB / 0.5951 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.8074, allocations: 6.531 kB / 0.5951 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.8075, allocations: 9.906 kB / 0.5951 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.8079, allocations: 102.5 kB / 0.5952 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004688/0.8083, allocations: 1.19 MB / 0.5964 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007303/0.8091, allocations: 159.7 kB / 0.5965 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.8091, allocations: 32.31 kB / 0.5966 GB, free: 130.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004805/0.8096, allocations: 302.3 kB / 0.5968 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.8098, allocations: 55 kB / 0.5969 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/0.8128, allocations: 2.944 MB / 0.5998 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002517/0.8154, allocations: 2.448 MB / 0.6022 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.8154, allocations: 3.156 kB / 0.6022 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.8154, allocations: 10.27 kB / 0.6022 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006782/0.8222, allocations: 5.667 MB / 0.6077 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.8223, allocations: 7.125 kB / 0.6077 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008084/0.8231, allocations: 300.8 kB / 0.608 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000412/0.8235, allocations: 285.8 kB / 0.6083 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.88e-05/0.8236, allocations: 42.52 kB / 0.6083 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006096/0.8242, allocations: 1.263 MB / 0.6096 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8242, allocations: 1.562 kB / 0.6096 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/0.8273, allocations: 2.429 MB / 0.6119 GB, free: 122.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004812/0.8278, allocations: 239.5 kB / 0.6122 GB, free: 122.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/0.8279, allocations: 33.84 kB / 0.6122 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008116/0.8287, allocations: 197.1 kB / 0.6124 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.8289, allocations: 121.5 kB / 0.6125 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.419e-05/0.829, allocations: 46.84 kB / 0.6125 GB, free: 121.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.8291, allocations: 129.4 kB / 0.6127 GB, free: 121.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8291, allocations: 0 / 0.6127 GB, free: 121.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00148/0.8306, allocations: 0.5033 MB / 0.6131 GB, free: 121.7 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.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeState.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 (204): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008596/0.8314, allocations: 0.5414 MB / 0.6137 GB, free: 121.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.8341, allocations: 2.351 MB / 0.616 GB, free: 120 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8341, allocations: 2.969 kB / 0.616 GB, free: 120 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.8354, allocations: 1.075 MB / 0.617 GB, free: 119.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004112/0.8395, allocations: 0.9352 MB / 0.6179 GB, free: 119.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/0.8446, allocations: 4.108 MB / 0.622 GB, free: 117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.8458, allocations: 1.408 MB / 0.6233 GB, free: 116.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.8461, allocations: 107.5 kB / 0.6234 GB, free: 116.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.8461, allocations: 0 / 0.6234 GB, free: 116.2 MB / 446.1 MB Notification: Performance of Templates: time 0.05381/0.8999, allocations: 38.79 MB / 0.6613 GB, free: 95.31 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.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.TestBasePropertiesImplicitCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicitCalcHelperMain.o] Error 1