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.001249/0.001249, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.001487/0.001487, allocations: 190 kB / 18.72 MB, free: 4.781 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.808/1.808, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001252/0.001252, allocations: 47.94 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1469, allocations: 46.64 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.02131/0.1682, allocations: 14.15 MB / 341.4 MB, free: 6.691 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02507/0.1934, allocations: 16.6 MB / 358 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003458/0.1938, allocations: 4 kB / 358 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005599/0.1945, allocations: 71.67 kB / 358.1 MB, free: 5.965 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.1949, allocations: 103.3 kB / 358.2 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02279/0.2178, allocations: 4.704 MB / 362.9 MB, free: 1.145 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008981/0.2187, allocations: 366.5 kB / 363.2 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.678e-05/0.2188, allocations: 17.67 kB / 363.3 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006901/0.2195, allocations: 207.1 kB / 363.5 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.2197, allocations: 103.5 kB / 363.6 MB, free: 472 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.2197, allocations: 12 kB / 363.6 MB, free: 460 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01731/0.2371, allocations: 6.676 MB / 370.2 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.2373, allocations: 39.83 kB / 370.3 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.2376, allocations: 95.59 kB / 370.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007628/0.2452, allocations: 2.643 MB / 373 MB, free: 6.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2453, allocations: 0 / 373 MB, free: 6.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2453, allocations: 4 kB / 373 MB, free: 6.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.2453, allocations: 0 / 373 MB, free: 6.98 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.003727/0.249, allocations: 0.9869 MB / 374 MB, free: 5.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.2491, allocations: 12.03 kB / 374 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.2506, allocations: 172.5 kB / 374.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.251, allocations: 256 kB / 374.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.2511, allocations: 24.81 kB / 374.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.511e-05/0.2512, allocations: 20.38 kB / 374.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/0.2547, allocations: 0.9128 MB / 375.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.2547, allocations: 3.938 kB / 375.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.2548, allocations: 11.94 kB / 375.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.2548, allocations: 4 kB / 375.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003524/0.2583, allocations: 0.9734 MB / 376.4 MB, free: 3.504 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.002286/0.2606, allocations: 1.346 MB / 377.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.2634, allocations: 0.7361 MB / 378.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.2637, allocations: 156.8 kB / 378.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3663/0.63, allocations: 37.38 MB / 416 MB, free: 25.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.283e-05/0.6301, allocations: 38.56 kB / 416 MB, free: 25.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 3.927e-06/0.6301, allocations: 4 kB / 416.1 MB, free: 25.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.00538/0.6355, allocations: 1.357 MB / 417.4 MB, free: 23.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.6356, allocations: 55.41 kB / 417.5 MB, free: 23.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.6357, allocations: 117 kB / 417.6 MB, free: 23.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.6358, allocations: 37.45 kB / 417.6 MB, free: 23.65 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.6359, allocations: 118 kB / 417.7 MB, free: 23.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.6361, allocations: 120.4 kB / 417.8 MB, free: 23.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002829/0.6364, allocations: 161.5 kB / 418 MB, free: 23.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.6365, allocations: 326.8 kB / 418.3 MB, free: 22.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005864/0.6371, allocations: 335.8 kB / 418.7 MB, free: 22.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006678/0.6377, allocations: 412 kB / 419.1 MB, free: 22.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.639, allocations: 0.7057 MB / 419.8 MB, free: 21.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.639, allocations: 0 / 419.8 MB, free: 21.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001729/0.6407, allocations: 0.8726 MB / 420.6 MB, free: 20.58 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.6408, allocations: 7.984 kB / 420.6 MB, free: 20.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.6408, allocations: 4.562 kB / 420.6 MB, free: 20.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.6408, allocations: 5.094 kB / 420.6 MB, free: 20.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/0.6415, allocations: 186 kB / 420.8 MB, free: 20.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.6415, allocations: 4 kB / 420.8 MB, free: 20.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.6419, allocations: 43.75 kB / 420.9 MB, free: 20.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.6421, allocations: 70.61 kB / 420.9 MB, free: 20.28 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002809/0.6423, allocations: 133.8 kB / 421.1 MB, free: 20.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.6425, allocations: 16.61 kB / 421.1 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006634/0.6492, allocations: 7.972 MB / 429.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/0.6492, allocations: 31.89 kB / 429.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.6492, allocations: 0 / 429.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.6492, allocations: 0 / 429.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.6519, allocations: 3.602 MB / 432.7 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.6519, allocations: 0 / 432.7 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006275/0.6526, allocations: 107.8 kB / 432.8 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.6526, allocations: 3.938 kB / 432.8 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/0.6527, allocations: 19.83 kB / 432.8 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.6527, allocations: 11.94 kB / 432.8 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6527, allocations: 0 / 432.8 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.6549, allocations: 1.832 MB / 434.7 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.655, allocations: 140.2 kB / 434.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.6551, allocations: 12 kB / 434.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.6554, allocations: 23.98 kB / 434.8 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6555, allocations: 31.95 kB / 434.9 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.6556, allocations: 12 kB / 434.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.497e-05/0.6556, allocations: 95.2 kB / 435 MB, free: 5.969 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6556, allocations: 0 / 435 MB, free: 5.969 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0034/0.659, allocations: 0.9835 MB / 436 MB, free: 5.066 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 (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.005949/0.665, allocations: 1.131 MB / 437.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.6665, allocations: 0.8959 MB / 438 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6665, allocations: 0 / 438 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006804/0.6672, allocations: 0.5961 MB / 438.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006946/0.6679, allocations: 76.42 kB / 438.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.67, allocations: 1.591 MB / 440.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.6704, allocations: 0.8497 MB / 441.1 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/0.6708, allocations: 95.34 kB / 441.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6708, allocations: 4 kB / 441.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of Templates: time 0.04602/0.7168, allocations: 23.96 MB / 465.2 MB, free: 7.926 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++ -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