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.001082/0.001082, allocations: 98.88 kB / 16.02 MB, free: 72 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.00188/0.00188, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.54/1.54, allocations: 223.2 MB / 240.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1604/0.1604, allocations: 2.786 MB / 294.9 MB, free: 4.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004584, allocations: 8 kB / 356.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1307, allocations: 51.25 MB / 408.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit): time 0.3393/0.4701, allocations: 94.76 MB / 0.4911 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05814/0.5284, allocations: 58.11 MB / 0.5478 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.5302, allocations: 4 kB / 0.5478 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003783/0.534, allocations: 1.283 MB / 0.5491 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02733/0.5613, allocations: 6.737 MB / 0.5557 GB, free: 52 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01131/0.5727, allocations: 2.681 MB / 0.5583 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003275/0.576, allocations: 1.759 MB / 0.56 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.5763, allocations: 134.5 kB / 0.5601 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006841/0.5831, allocations: 0.6925 MB / 0.5608 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.5845, allocations: 0.5752 MB / 0.5614 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.5847, allocations: 32 kB / 0.5614 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02594/0.6107, allocations: 3.963 MB / 0.5653 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004547/0.6111, allocations: 166.9 kB / 0.5654 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.6125, allocations: 0.6936 MB / 0.5661 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008258/0.6208, allocations: 2.77 MB / 0.5688 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.6208, allocations: 0 / 0.5688 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6208, allocations: 0 / 0.5688 GB, free: 2.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.6208, allocations: 0 / 0.5688 GB, free: 2.602 MB / 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.003462/0.6243, allocations: 1.77 MB / 0.5705 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.6243, allocations: 8.031 kB / 0.5706 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005356/0.6297, allocations: 1.419 MB / 0.5719 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009524/0.6307, allocations: 0.4907 MB / 0.5724 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.6308, allocations: 78.52 kB / 0.5725 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.631, allocations: 112.3 kB / 0.5726 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/0.6345, allocations: 1.917 MB / 0.5745 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.6345, allocations: 3.938 kB / 0.5745 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.657e-05/0.6346, allocations: 44 kB / 0.5745 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.6348, allocations: 95.94 kB / 0.5746 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003124/0.6379, allocations: 1.855 MB / 0.5764 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009725/0.6476, allocations: 9.184 MB / 0.5854 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2765/0.9241, allocations: 0.7843 MB / 0.5862 GB, free: 137.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.9257, allocations: 0.6644 MB / 0.5868 GB, free: 137.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003377/0.9291, allocations: 2.859 MB / 0.5896 GB, free: 135.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.9292, allocations: 37.45 kB / 0.5896 GB, free: 135.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=193): time 3.015e-06/0.9292, allocations: 1.812 kB / 0.5896 GB, free: 135.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=193): time 0.002657/0.9319, allocations: 1.347 MB / 0.5909 GB, free: 135.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.9319, allocations: 87.45 kB / 0.591 GB, free: 135.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.9322, allocations: 206.1 kB / 0.5912 GB, free: 135.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.9322, allocations: 32.11 kB / 0.5913 GB, free: 135.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.9325, allocations: 446.2 kB / 0.5917 GB, free: 135.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004004/0.9329, allocations: 0.5985 MB / 0.5923 GB, free: 134.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.9331, allocations: 118.6 kB / 0.5924 GB, free: 134.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.9331, allocations: 311.3 kB / 0.5927 GB, free: 134.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005401/0.9337, allocations: 292.3 kB / 0.593 GB, free: 134.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/0.9343, allocations: 0.543 MB / 0.5935 GB, free: 134.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.9356, allocations: 0.9973 MB / 0.5945 GB, free: 133.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.9356, allocations: 3.188 kB / 0.5945 GB, free: 133.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001473/0.9371, allocations: 0.9882 MB / 0.5954 GB, free: 133.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.9371, allocations: 13.53 kB / 0.5954 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.9371, allocations: 10.33 kB / 0.5955 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.9372, allocations: 12.86 kB / 0.5955 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.9375, allocations: 87.84 kB / 0.5955 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.9375, allocations: 23.3 kB / 0.5956 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007729/0.9383, allocations: 159.7 kB / 0.5957 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.9384, allocations: 29.91 kB / 0.5958 GB, free: 133.4 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.0005792/0.939, allocations: 297 kB / 0.596 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.9391, allocations: 55.19 kB / 0.5961 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/0.9422, allocations: 2.76 MB / 0.5988 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002569/0.9448, allocations: 2.269 MB / 0.601 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.9448, allocations: 3.938 kB / 0.601 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/0.9448, allocations: 9.938 kB / 0.601 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006733/0.9516, allocations: 5.469 MB / 0.6064 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.9516, allocations: 2.844 kB / 0.6064 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008143/0.9525, allocations: 304.1 kB / 0.6066 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/0.9525, allocations: 6.938 kB / 0.6067 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/0.9525, allocations: 35.59 kB / 0.6067 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.9526, allocations: 10.41 kB / 0.6067 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.9526, allocations: 0 / 0.6067 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.9551, allocations: 2.142 MB / 0.6088 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/0.9556, allocations: 236 kB / 0.609 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.793e-05/0.9556, allocations: 33.66 kB / 0.609 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007927/0.9564, allocations: 196.2 kB / 0.6092 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.9566, allocations: 119.7 kB / 0.6093 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/0.9567, allocations: 54.44 kB / 0.6094 GB, free: 126.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.9568, allocations: 139.6 kB / 0.6095 GB, free: 126.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.313e-06/0.9568, allocations: 3.75 kB / 0.6095 GB, free: 126.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001612/0.9585, allocations: 0.5007 MB / 0.61 GB, free: 126.4 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.00108/0.9595, allocations: 0.5249 MB / 0.6105 GB, free: 126.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002651/0.9622, allocations: 2.309 MB / 0.6128 GB, free: 124.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9622, allocations: 0 / 0.6128 GB, free: 124.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.9634, allocations: 1.046 MB / 0.6138 GB, free: 124.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004766/0.9682, allocations: 0.9525 MB / 0.6147 GB, free: 124.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005416/0.9737, allocations: 4.138 MB / 0.6188 GB, free: 121.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.9748, allocations: 1.415 MB / 0.6202 GB, free: 120.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.9751, allocations: 108.2 kB / 0.6203 GB, free: 120.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.572e-06/0.9751, allocations: 0 / 0.6203 GB, free: 120.9 MB / 446.1 MB Notification: Performance of Templates: time 0.04673/1.022, allocations: 19.99 MB / 0.6398 GB, free: 117.9 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