Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4400,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") translateModel(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4400,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.0009991, allocations: 88.52 kB / 17.58 MB, free: 5.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 188.1 kB / 18.47 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.4 MB / 224.6 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004942, allocations: 15.94 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1284, allocations: 47.58 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01569/0.1442, allocations: 12.36 MB / 341.3 MB, free: 7.672 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01706/0.1613, allocations: 14.36 MB / 355.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.1616, allocations: 8 kB / 355.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.1619, allocations: 63.61 kB / 355.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.1623, allocations: 99.33 kB / 355.9 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0163/0.1786, allocations: 4.519 MB / 360.4 MB, free: 4.574 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005918/0.1792, allocations: 330.6 kB / 360.7 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.1793, allocations: 17.67 kB / 360.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.1798, allocations: 199.1 kB / 360.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.18, allocations: 99.66 kB / 361 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.18, allocations: 8 kB / 361 MB, free: 3.934 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01546/0.1955, allocations: 6.473 MB / 367.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.1957, allocations: 39.83 kB / 367.5 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.1959, allocations: 61.62 kB / 367.6 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007871/0.2038, allocations: 2.62 MB / 370.2 MB, free: 10.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.2039, allocations: 0 / 370.2 MB, free: 10.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2039, allocations: 4 kB / 370.2 MB, free: 10.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.2039, allocations: 0 / 370.2 MB, free: 10.72 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003897/0.2078, allocations: 0.9476 MB / 371.2 MB, free: 9.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.2078, allocations: 12.03 kB / 371.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.2093, allocations: 187.6 kB / 371.4 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.2097, allocations: 258.7 kB / 371.6 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.2098, allocations: 16.44 kB / 371.6 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.2098, allocations: 19.91 kB / 371.7 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.2128, allocations: 0.9129 MB / 372.6 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.2129, allocations: 4 kB / 372.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.2129, allocations: 11.94 kB / 372.6 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.2129, allocations: 11.95 kB / 372.6 MB, free: 8.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/0.2159, allocations: 0.9813 MB / 373.6 MB, free: 7.254 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.2179, allocations: 1.335 MB / 374.9 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/0.2203, allocations: 0.737 MB / 375.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.2206, allocations: 157.4 kB / 375.8 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3043/0.5249, allocations: 37.75 MB / 413.5 MB, free: 27.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.525, allocations: 40.41 kB / 413.6 MB, free: 27.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.855e-06/0.525, allocations: 0 / 413.6 MB, free: 27.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.004436/0.5294, allocations: 1.372 MB / 415 MB, free: 26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.5295, allocations: 56.44 kB / 415 MB, free: 25.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.633e-05/0.5296, allocations: 121.8 kB / 415.1 MB, free: 25.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.033e-05/0.5297, allocations: 33.7 kB / 415.2 MB, free: 25.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.5297, allocations: 122.6 kB / 415.3 MB, free: 25.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.5299, allocations: 113.1 kB / 415.4 MB, free: 25.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.5299, allocations: 8 kB / 415.4 MB, free: 25.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.53, allocations: 326.8 kB / 415.7 MB, free: 25.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.5305, allocations: 339.6 kB / 416.1 MB, free: 24.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.5311, allocations: 415.3 kB / 416.5 MB, free: 24.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.5316, allocations: 343.9 kB / 416.8 MB, free: 24.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5316, allocations: 3.094 kB / 416.8 MB, free: 24.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00136/0.533, allocations: 0.8759 MB / 417.7 MB, free: 23.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.533, allocations: 8 kB / 417.7 MB, free: 23.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.533, allocations: 0.75 kB / 417.7 MB, free: 23.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.533, allocations: 4 kB / 417.7 MB, free: 23.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/0.5336, allocations: 183.8 kB / 417.9 MB, free: 23.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.5336, allocations: 4 kB / 417.9 MB, free: 23.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.534, allocations: 43.86 kB / 417.9 MB, free: 23.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/0.534, allocations: 59.94 kB / 418 MB, free: 22.95 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (medium.phase,medium.bubble2.phase,medium.bubble.phase,medium.dew.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001937/0.5343, allocations: 145.4 kB / 418.1 MB, free: 22.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/0.5343, allocations: 16.58 kB / 418.1 MB, free: 22.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006006/0.5404, allocations: 7.984 MB / 426.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-05/0.5404, allocations: 27.95 kB / 426.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.5404, allocations: 0 / 426.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.5404, allocations: 3.984 kB / 426.1 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.5428, allocations: 3.6 MB / 429.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.5428, allocations: 0 / 429.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005478/0.5433, allocations: 107.8 kB / 429.8 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.5433, allocations: 4 kB / 429.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/0.5434, allocations: 11.98 kB / 429.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.5434, allocations: 0 / 429.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5434, allocations: 0 / 429.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.5454, allocations: 1.863 MB / 431.7 MB, free: 8.906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.88e-05/0.5455, allocations: 145 kB / 431.9 MB, free: 8.746 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.5455, allocations: 9.312 kB / 431.9 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.5458, allocations: 28.05 kB / 431.9 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.5459, allocations: 27.95 kB / 431.9 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.546, allocations: 12 kB / 431.9 MB, free: 8.672 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.173e-05/0.546, allocations: 91.27 kB / 432 MB, free: 8.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.546, allocations: 0 / 432 MB, free: 8.582 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003393/0.5494, allocations: 0.9802 MB / 433 MB, free: 7.688 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 15 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.005453/0.5549, allocations: 1.143 MB / 434.2 MB, free: 6.703 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.5563, allocations: 0.8998 MB / 435.1 MB, free: 5.805 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5563, allocations: 0 / 435.1 MB, free: 5.805 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006539/0.557, allocations: 0.603 MB / 435.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006633/0.5576, allocations: 87.7 kB / 435.7 MB, free: 5.121 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.5595, allocations: 1.631 MB / 437.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.5598, allocations: 0.8575 MB / 438.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/0.5601, allocations: 91.36 kB / 438.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5601, allocations: 0 / 438.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of Templates: time 0.04169/0.6018, allocations: 23.91 MB / 462.2 MB, free: 10.51 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStatesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStatesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStatesCalcHelperMain.o] Error 1