Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.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.TestStatesSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat") translateModel(ExternalMedia.Test.TestMedium.TestStatesSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009449/0.0009449, 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.0009544/0.0009545, allocations: 195 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.339/1.339, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1718/0.1718, allocations: 2.762 MB / 293.4 MB, free: 3.805 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 55.91 kB / 354.4 MB, free: 5.066 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0952/0.09625, allocations: 50.24 MB / 404.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestStatesSat): time 0.283/0.3793, allocations: 82.75 MB / 487.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04572/0.425, allocations: 51.22 MB / 0.5259 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.4269, allocations: 5.781 kB / 0.5259 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003698/0.4307, allocations: 1.182 MB / 0.5271 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02734/0.458, allocations: 6.573 MB / 0.5335 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006099/0.4642, allocations: 1.571 MB / 0.5351 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002699/0.4669, allocations: 1.786 MB / 0.5368 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.4671, allocations: 125.5 kB / 0.5369 GB, free: 176 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005126/0.4722, allocations: 0.5634 MB / 0.5375 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.4733, allocations: 0.6023 MB / 0.5381 GB, free: 15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.928e-05/0.4734, allocations: 28 kB / 0.5381 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01927/0.4926, allocations: 3.553 MB / 0.5416 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.493, allocations: 174.8 kB / 0.5417 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.4944, allocations: 0.6955 MB / 0.5424 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004709/0.4991, allocations: 2.342 MB / 0.5447 GB, free: 8.238 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.4991, allocations: 8 kB / 0.5447 GB, free: 8.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4991, allocations: 0 / 0.5447 GB, free: 8.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.4991, allocations: 0 / 0.5447 GB, free: 8.23 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.002707/0.5019, allocations: 1.991 MB / 0.5466 GB, free: 6.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5019, allocations: 8.031 kB / 0.5466 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00473/0.5066, allocations: 1.306 MB / 0.5479 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/0.5073, allocations: 474.4 kB / 0.5484 GB, free: 4.371 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.5074, allocations: 82.5 kB / 0.5485 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.5075, allocations: 100.4 kB / 0.5485 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.5102, allocations: 1.861 MB / 0.5504 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.5102, allocations: 3.938 kB / 0.5504 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.5103, allocations: 44 kB / 0.5504 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.932e-05/0.5104, allocations: 91.91 kB / 0.5505 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.5127, allocations: 1.725 MB / 0.5522 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006987/0.5197, allocations: 8.53 MB / 0.5605 GB, free: 6.863 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.5212, allocations: 0.998 MB / 0.5615 GB, free: 5.793 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009141/0.5221, allocations: 0.8176 MB / 0.5623 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003324/0.5254, allocations: 3.548 MB / 0.5658 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.5255, allocations: 46.55 kB / 0.5658 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=253): time 3.687e-06/0.5255, allocations: 0 / 0.5658 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of matching and sorting (n=253): time 0.003163/0.5287, allocations: 1.741 MB / 0.5675 GB, free: 15.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.5288, allocations: 251.7 kB / 0.5677 GB, free: 14.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.529, allocations: 186.4 kB / 0.5679 GB, free: 14.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.529, allocations: 29.7 kB / 0.5679 GB, free: 14.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.5293, allocations: 425.3 kB / 0.5683 GB, free: 14.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005015/0.5298, allocations: 0.7847 MB / 0.5691 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.53, allocations: 194.3 kB / 0.5693 GB, free: 13.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.5301, allocations: 310 kB / 0.5696 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.5307, allocations: 378.5 kB / 0.57 GB, free: 12.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007049/0.5314, allocations: 0.6282 MB / 0.5706 GB, free: 11.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.5328, allocations: 1.199 MB / 0.5717 GB, free: 10.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5328, allocations: 0 / 0.5717 GB, free: 10.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.001692/0.5345, allocations: 1.192 MB / 0.5729 GB, free: 9.402 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.5346, allocations: 8 kB / 0.5729 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.5346, allocations: 8 kB / 0.5729 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.5346, allocations: 8.719 kB / 0.5729 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.5349, allocations: 83.89 kB / 0.573 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.5349, allocations: 11.94 kB / 0.573 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007236/0.5356, allocations: 182.1 kB / 0.5732 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.5357, allocations: 28 kB / 0.5732 GB, free: 9.078 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 16 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,state2.phase,state1.phase,baseProperties2.phaseOutput,baseProperties2.state.phase,baseProperties1.phaseOutput,baseProperties1.state.phase,baseProperties2.phaseInput,baseProperties1.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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.0003978/0.5361, allocations: 256.3 kB / 0.5735 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.5363, allocations: 74.95 kB / 0.5735 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/0.5401, allocations: 3.25 MB / 0.5767 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001888/0.542, allocations: 1.765 MB / 0.5784 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.542, allocations: 4 kB / 0.5784 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.542, allocations: 11.91 kB / 0.5784 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2327/0.7747, allocations: 5.112 MB / 0.5834 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/0.7747, allocations: 2.844 kB / 0.5834 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/0.7755, allocations: 287.2 kB / 0.5837 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.7755, allocations: 9.812 kB / 0.5837 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.719e-05/0.7756, allocations: 32.31 kB / 0.5838 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/0.7756, allocations: 11.53 kB / 0.5838 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7756, allocations: 3.156 kB / 0.5838 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.7783, allocations: 2.907 MB / 0.5866 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/0.7787, allocations: 272.6 kB / 0.5869 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.7788, allocations: 33.59 kB / 0.5869 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009292/0.7797, allocations: 176.1 kB / 0.5871 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.7799, allocations: 117.8 kB / 0.5872 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/0.78, allocations: 47.38 kB / 0.5872 GB, free: 136.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.304e-05/0.7801, allocations: 122.5 kB / 0.5873 GB, free: 136.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7801, allocations: 0 / 0.5873 GB, free: 136.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001701/0.7818, allocations: 0.5212 MB / 0.5879 GB, free: 136.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 (baseProperties1.state.phase,baseProperties1.phaseOutput,baseProperties2.state.phase,baseProperties2.phaseOutput,state1.phase,$cse11.phase,state2.phase,$cse10.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,$cse1.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse5.phase,$cse6.phase,$cse7.phase,$cse8.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.000935/0.7827, allocations: 0.5064 MB / 0.5883 GB, free: 136.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002882/0.7856, allocations: 2.444 MB / 0.5907 GB, free: 135 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.7856, allocations: 0 / 0.5907 GB, free: 135 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.7871, allocations: 1.227 MB / 0.5919 GB, free: 134.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005565/0.7927, allocations: 1.017 MB / 0.5929 GB, free: 134.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005225/0.7979, allocations: 4.569 MB / 0.5974 GB, free: 131.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008943/0.7988, allocations: 1.466 MB / 0.5988 GB, free: 130.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.7991, allocations: 112.2 kB / 0.5989 GB, free: 130.9 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.7991, allocations: 0 / 0.5989 GB, free: 130.9 MB / 446.1 MB Notification: Performance of Templates: time 0.03224/0.8313, allocations: 19.88 MB / 0.6183 GB, free: 128.8 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.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.TestStatesSatCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSatCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSatCalcHelperMain.o] Error 1