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.001214/0.001214, allocations: 88.84 kB / 17.95 MB, free: 5.629 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.00182/0.00182, allocations: 176.9 kB / 18.86 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005346/0.0005348, allocations: 12 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1348, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.02204/0.1569, allocations: 13.66 MB / 343.3 MB, free: 6.039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02576/0.1827, allocations: 16.31 MB / 359.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.1831, allocations: 0 / 359.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.1836, allocations: 83.66 kB / 359.7 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004405/0.1841, allocations: 103.3 kB / 359.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01996/0.204, allocations: 4.697 MB / 364.5 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006338/0.2047, allocations: 366.5 kB / 364.8 MB, free: 436 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.2048, allocations: 17.67 kB / 364.8 MB, free: 416 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005628/0.2053, allocations: 203.2 kB / 365 MB, free: 212 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.2055, allocations: 107.5 kB / 365.1 MB, free: 104 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.2056, allocations: 8 kB / 365.1 MB, free: 96 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01546/0.2211, allocations: 6.68 MB / 371.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.2212, allocations: 35.83 kB / 371.9 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.2214, allocations: 129.3 kB / 372 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006751/0.2282, allocations: 2.616 MB / 374.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2282, allocations: 0 / 374.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.2282, allocations: 0 / 374.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.2283, allocations: 0 / 374.6 MB, free: 6.617 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.003986/0.2322, allocations: 0.9518 MB / 375.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/0.2323, allocations: 8.031 kB / 375.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.2339, allocations: 176.6 kB / 375.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.2343, allocations: 256 kB / 376 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.2344, allocations: 24.75 kB / 376 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.2345, allocations: 20.38 kB / 376 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/0.2377, allocations: 0.9207 MB / 376.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.2378, allocations: 0 / 376.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.2378, allocations: 11.94 kB / 377 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.2378, allocations: 8 kB / 377 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003277/0.2411, allocations: 0.9851 MB / 378 MB, free: 3.156 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.002902/0.244, allocations: 1.354 MB / 379.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.2469, allocations: 0.7323 MB / 380 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.2473, allocations: 168.8 kB / 380.2 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3512/0.5986, allocations: 37.74 MB / 417.9 MB, free: 16.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.5987, allocations: 38.36 kB / 418 MB, free: 16.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.686e-06/0.5987, allocations: 0 / 418 MB, free: 16.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.005008/0.6037, allocations: 1.372 MB / 419.3 MB, free: 16.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.6038, allocations: 55.03 kB / 419.4 MB, free: 16.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.6039, allocations: 121.2 kB / 419.5 MB, free: 16.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.604, allocations: 33.3 kB / 419.6 MB, free: 16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.6041, allocations: 118.9 kB / 419.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.6043, allocations: 110.9 kB / 419.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.6044, allocations: 35.3 kB / 419.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.6046, allocations: 330.7 kB / 420.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005889/0.6052, allocations: 337 kB / 420.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.6058, allocations: 423.5 kB / 420.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.6071, allocations: 0.7299 MB / 421.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.6071, allocations: 0 / 421.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001599/0.6087, allocations: 0.8758 MB / 422.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.6087, allocations: 12.03 kB / 422.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.6087, allocations: 3.938 kB / 422.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.6088, allocations: 4 kB / 422.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/0.6094, allocations: 180.6 kB / 422.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.6094, allocations: 7 kB / 422.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.6098, allocations: 39.55 kB / 422.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.6099, allocations: 66.73 kB / 422.8 MB, free: 14.12 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003093/0.6103, allocations: 134.4 kB / 422.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.6104, allocations: 15.81 kB / 422.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007833/0.6182, allocations: 7.986 MB / 430.9 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.183e-05/0.6183, allocations: 27.95 kB / 430.9 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.6183, allocations: 1.812 kB / 430.9 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.6183, allocations: 0 / 430.9 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003981/0.6223, allocations: 3.598 MB / 434.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.6224, allocations: 0 / 434.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006964/0.6231, allocations: 113.1 kB / 434.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.6231, allocations: 8 kB / 434.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/0.6231, allocations: 15.92 kB / 434.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.6232, allocations: 0 / 434.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6232, allocations: 0 / 434.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/0.6261, allocations: 1.855 MB / 436.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.6263, allocations: 148.1 kB / 436.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.6263, allocations: 7.938 kB / 436.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/0.6267, allocations: 23.98 kB / 436.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.6268, allocations: 34.75 kB / 436.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/0.6269, allocations: 20.33 kB / 436.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.479e-05/0.627, allocations: 90.56 kB / 436.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.627, allocations: 0 / 436.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003385/0.6304, allocations: 0.9767 MB / 437.8 MB, free: 2.082 MB / 334.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 (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.006092/0.6365, allocations: 1.132 MB / 439 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.6385, allocations: 0.9172 MB / 439.9 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6385, allocations: 0 / 439.9 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009745/0.6395, allocations: 0.5928 MB / 440.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008114/0.6403, allocations: 86.02 kB / 440.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.6428, allocations: 1.654 MB / 442.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/0.6435, allocations: 0.8575 MB / 443.1 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/0.6439, allocations: 87.36 kB / 443.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.6439, allocations: 4 kB / 443.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Templates: time 0.04687/0.6908, allocations: 23.92 MB / 467.1 MB, free: 5.027 MB / 366.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++ -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/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