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.00109/0.00109, allocations: 92.16 kB / 16.02 MB, free: 80 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.001556/0.001556, allocations: 173 kB / 16.92 MB, free: 6.652 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.522/1.522, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.2188/0.2188, allocations: 2.784 MB / 294.9 MB, free: 4.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003323, allocations: 8 kB / 356.9 MB, free: 3.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.117, allocations: 51.27 MB / 408.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestStatesSat): time 0.3464/0.4635, allocations: 81.19 MB / 489.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05495/0.5185, allocations: 50.41 MB / 0.5271 GB, free: 8.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.5208, allocations: 5.5 kB / 0.5271 GB, free: 8.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004924/0.5258, allocations: 1.189 MB / 0.5282 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03409/0.5599, allocations: 6.57 MB / 0.5347 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007738/0.5677, allocations: 1.565 MB / 0.5362 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00395/0.5717, allocations: 1.789 MB / 0.5379 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.572, allocations: 126.5 kB / 0.5381 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006699/0.5787, allocations: 0.553 MB / 0.5386 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.5806, allocations: 0.6087 MB / 0.5392 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.5807, allocations: 29.03 kB / 0.5392 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02202/0.6027, allocations: 3.544 MB / 0.5427 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000438/0.6032, allocations: 174.8 kB / 0.5428 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.6048, allocations: 0.7245 MB / 0.5435 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005511/0.6103, allocations: 2.314 MB / 0.5458 GB, free: 10.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6103, allocations: 0 / 0.5458 GB, free: 10.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6103, allocations: 0 / 0.5458 GB, free: 10.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.6103, allocations: 0 / 0.5458 GB, free: 10.2 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.002981/0.6133, allocations: 1.768 MB / 0.5475 GB, free: 8.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.6134, allocations: 12.02 kB / 0.5475 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004861/0.6183, allocations: 1.31 MB / 0.5488 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008695/0.6192, allocations: 474.2 kB / 0.5493 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.978e-05/0.6193, allocations: 82.5 kB / 0.5494 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.6194, allocations: 100.4 kB / 0.5495 GB, free: 6.371 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/0.6224, allocations: 1.874 MB / 0.5513 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.6225, allocations: 3.938 kB / 0.5513 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.22e-05/0.6225, allocations: 48 kB / 0.5513 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.774e-05/0.6227, allocations: 91.22 kB / 0.5514 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.6252, allocations: 1.74 MB / 0.5531 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007992/0.6332, allocations: 8.535 MB / 0.5615 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.6349, allocations: 1.014 MB / 0.5624 GB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.6359, allocations: 0.8176 MB / 0.5632 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003684/0.6396, allocations: 3.56 MB / 0.5667 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.6397, allocations: 42.5 kB / 0.5668 GB, free: 3.098 MB / 430.1 MB Notification: Performance of pre-optimization done (n=253): time 3.006e-06/0.6397, allocations: 0 / 0.5668 GB, free: 3.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=253): time 0.003448/0.6431, allocations: 1.76 MB / 0.5685 GB, free: 1.344 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.6433, allocations: 247.6 kB / 0.5687 GB, free: 1.047 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.6435, allocations: 178.4 kB / 0.5689 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.6436, allocations: 33.7 kB / 0.5689 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.6439, allocations: 425.4 kB / 0.5693 GB, free: 404 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000632/0.6445, allocations: 0.7733 MB / 0.5701 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.6447, allocations: 141.9 kB / 0.5702 GB, free: 15.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6448, allocations: 306 kB / 0.5705 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006152/0.6455, allocations: 382.5 kB / 0.5709 GB, free: 14.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008564/0.6463, allocations: 0.636 MB / 0.5715 GB, free: 14.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.648, allocations: 1.207 MB / 0.5727 GB, free: 12.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.648, allocations: 0 / 0.5727 GB, free: 12.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.002116/0.6501, allocations: 1.209 MB / 0.5739 GB, free: 11.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.6502, allocations: 8 kB / 0.5739 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.6502, allocations: 8 kB / 0.5739 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.6502, allocations: 8 kB / 0.5739 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.6505, allocations: 75.91 kB / 0.5739 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.6505, allocations: 20.34 kB / 0.574 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008313/0.6514, allocations: 178.2 kB / 0.5741 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.6515, allocations: 31.98 kB / 0.5742 GB, free: 11.21 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.000489/0.652, allocations: 260.3 kB / 0.5744 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.6522, allocations: 74.88 kB / 0.5745 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00434/0.6566, allocations: 3.256 MB / 0.5777 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002197/0.6588, allocations: 1.763 MB / 0.5794 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.6588, allocations: 0 / 0.5794 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/0.6588, allocations: 24.05 kB / 0.5794 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007533/0.6664, allocations: 5.113 MB / 0.5844 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.6664, allocations: 0 / 0.5844 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008204/0.6672, allocations: 287.6 kB / 0.5847 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-05/0.6673, allocations: 12.75 kB / 0.5847 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.586e-05/0.6673, allocations: 32 kB / 0.5847 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.858e-05/0.6673, allocations: 15.92 kB / 0.5847 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6674, allocations: 8 kB / 0.5847 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2887/0.9561, allocations: 2.912 MB / 0.5876 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005024/0.9566, allocations: 267 kB / 0.5878 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.9567, allocations: 37.8 kB / 0.5879 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009831/0.9577, allocations: 177.3 kB / 0.588 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.9579, allocations: 120.9 kB / 0.5882 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.807e-05/0.9579, allocations: 48.12 kB / 0.5882 GB, free: 134.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.9581, allocations: 123.7 kB / 0.5883 GB, free: 134.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9581, allocations: 0 / 0.5883 GB, free: 134.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001614/0.9597, allocations: 0.5124 MB / 0.5888 GB, free: 134.2 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.0008311/0.9605, allocations: 0.4987 MB / 0.5893 GB, free: 134.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.9633, allocations: 2.445 MB / 0.5917 GB, free: 133.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.9633, allocations: 0 / 0.5917 GB, free: 133.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.9649, allocations: 1.238 MB / 0.5929 GB, free: 133.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005481/0.9704, allocations: 1.02 MB / 0.5939 GB, free: 133.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.9755, allocations: 4.619 MB / 0.5984 GB, free: 130.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009577/0.9765, allocations: 1.469 MB / 0.5999 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.9767, allocations: 107.2 kB / 0.6 GB, free: 130.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.194e-06/0.9767, allocations: 3.594 kB / 0.6 GB, free: 130.1 MB / 446.1 MB Notification: Performance of Templates: time 0.03455/1.011, allocations: 19.62 MB / 0.6191 GB, free: 128.2 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