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.001087/0.001087, allocations: 100.5 kB / 15.71 MB, free: 452 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.001338/0.001338, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.603/1.603, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1882/0.1882, allocations: 2.785 MB / 294.5 MB, free: 4.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004154, allocations: 8 kB / 356.2 MB, free: 4.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1298, allocations: 51.26 MB / 407.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit): time 0.3492/0.479, allocations: 89.25 MB / 496.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.06114/0.5402, allocations: 54.46 MB / 0.5383 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.5427, allocations: 10.31 kB / 0.5383 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004887/0.5476, allocations: 1.213 MB / 0.5395 GB, free: 456 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03112/0.5788, allocations: 6.339 MB / 0.5457 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01121/0.5901, allocations: 2.485 MB / 0.5481 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003542/0.5936, allocations: 1.615 MB / 0.5497 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004912/0.5942, allocations: 141.9 kB / 0.5498 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00786/0.602, allocations: 0.6235 MB / 0.5504 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.6033, allocations: 0.5598 MB / 0.551 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.016e-05/0.6034, allocations: 32 kB / 0.551 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02336/0.6267, allocations: 3.738 MB / 0.5546 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004611/0.6272, allocations: 163 kB / 0.5548 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.6283, allocations: 317.1 kB / 0.5551 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007612/0.6359, allocations: 2.77 MB / 0.5578 GB, free: 13.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.108e-06/0.6359, allocations: 0 / 0.5578 GB, free: 13.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.6359, allocations: 0 / 0.5578 GB, free: 13.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.636, allocations: 0 / 0.5578 GB, free: 13.8 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.003318/0.6393, allocations: 1.791 MB / 0.5595 GB, free: 11.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.6393, allocations: 15.97 kB / 0.5596 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/0.6443, allocations: 1.407 MB / 0.5609 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008415/0.6451, allocations: 0.4933 MB / 0.5614 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.6453, allocations: 82.14 kB / 0.5615 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.6454, allocations: 100 kB / 0.5616 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/0.6484, allocations: 1.909 MB / 0.5635 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.6484, allocations: 0 / 0.5635 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.417e-05/0.6485, allocations: 44 kB / 0.5635 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-05/0.6486, allocations: 96.81 kB / 0.5636 GB, free: 7.715 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.6512, allocations: 1.847 MB / 0.5654 GB, free: 5.863 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008559/0.6597, allocations: 9.185 MB / 0.5744 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.6611, allocations: 0.7803 MB / 0.5751 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009197/0.6621, allocations: 0.6657 MB / 0.5758 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003109/0.6652, allocations: 2.873 MB / 0.5786 GB, free: 6.992 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.6652, allocations: 38.56 kB / 0.5786 GB, free: 6.945 MB / 446.1 MB Notification: Performance of pre-optimization done (n=193): time 2.515e-06/0.6652, allocations: 7.938 kB / 0.5786 GB, free: 6.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=193): time 0.002717/0.668, allocations: 1.309 MB / 0.5799 GB, free: 5.625 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.668, allocations: 85.05 kB / 0.58 GB, free: 5.523 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.6683, allocations: 209.8 kB / 0.5802 GB, free: 5.309 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.6683, allocations: 33.7 kB / 0.5802 GB, free: 5.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.6687, allocations: 448.1 kB / 0.5806 GB, free: 4.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004492/0.6691, allocations: 0.6001 MB / 0.5812 GB, free: 4.211 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.6692, allocations: 8 kB / 0.5812 GB, free: 4.203 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.6694, allocations: 378.7 kB / 0.5816 GB, free: 3.824 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/0.6699, allocations: 294.5 kB / 0.5819 GB, free: 3.539 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/0.6705, allocations: 0.5397 MB / 0.5824 GB, free: 2.906 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/0.6712, allocations: 423.9 kB / 0.5828 GB, free: 2.492 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.6712, allocations: 4 kB / 0.5828 GB, free: 2.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001551/0.6728, allocations: 0.9814 MB / 0.5838 GB, free: 1.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.6728, allocations: 8 kB / 0.5838 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.6728, allocations: 8 kB / 0.5838 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.6729, allocations: 12 kB / 0.5838 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.6732, allocations: 87.89 kB / 0.5839 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.6732, allocations: 15.92 kB / 0.5839 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.674, allocations: 158.8 kB / 0.5841 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/0.6741, allocations: 32 kB / 0.5841 GB, free: 1.184 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.baseProperties.phaseOutput,medium2.completeState.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005357/0.6747, allocations: 305.6 kB / 0.5844 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.6748, allocations: 55.16 kB / 0.5844 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2927/0.9675, allocations: 2.736 MB / 0.5871 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002743/0.9703, allocations: 2.242 MB / 0.5893 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.9703, allocations: 3.625 kB / 0.5893 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.9703, allocations: 10.22 kB / 0.5893 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006851/0.9772, allocations: 5.441 MB / 0.5946 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.9772, allocations: 3.25 kB / 0.5946 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008055/0.978, allocations: 304.9 kB / 0.5949 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/0.9781, allocations: 6.469 kB / 0.5949 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.9781, allocations: 37.73 kB / 0.595 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-05/0.9782, allocations: 14.77 kB / 0.595 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9782, allocations: 0 / 0.595 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.9807, allocations: 2.117 MB / 0.597 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/0.9812, allocations: 236.2 kB / 0.5973 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.657e-05/0.9813, allocations: 38.09 kB / 0.5973 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007443/0.982, allocations: 199.4 kB / 0.5975 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.9822, allocations: 111.1 kB / 0.5976 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.741e-05/0.9823, allocations: 55.45 kB / 0.5976 GB, free: 133.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.9824, allocations: 134.3 kB / 0.5978 GB, free: 133.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9824, allocations: 0 / 0.5978 GB, free: 133.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001564/0.984, allocations: 0.4915 MB / 0.5983 GB, free: 133 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 (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.0009679/0.9849, allocations: 0.5389 MB / 0.5988 GB, free: 132.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002573/0.9875, allocations: 2.297 MB / 0.601 GB, free: 131.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.9875, allocations: 0 / 0.601 GB, free: 131.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.9887, allocations: 1.038 MB / 0.602 GB, free: 130.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004008/0.9927, allocations: 0.9578 MB / 0.603 GB, free: 130.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.9977, allocations: 4.03 MB / 0.6069 GB, free: 128.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009478/0.9987, allocations: 1.408 MB / 0.6083 GB, free: 127.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.9989, allocations: 109.9 kB / 0.6084 GB, free: 127.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.9989, allocations: 3.156 kB / 0.6084 GB, free: 127.7 MB / 446.1 MB Notification: Performance of Templates: time 0.03412/1.033, allocations: 20 MB / 0.6279 GB, free: 125.6 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.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.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