Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001523, 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.001683/0.001683, 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.673/1.673, 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.001213/0.001213, allocations: 51.92 kB / 280.6 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1347, allocations: 46.63 MB / 327.2 MB, free: 4.918 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.02097/0.1557, allocations: 13.74 MB / 341 MB, free: 7.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01763/0.1734, allocations: 12.48 MB / 353.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.1736, allocations: 0 / 353.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.1743, allocations: 67.67 kB / 353.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.1747, allocations: 75.48 kB / 353.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01849/0.1932, allocations: 4.008 MB / 357.6 MB, free: 6.449 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005535/0.1937, allocations: 274.9 kB / 357.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.193e-05/0.1938, allocations: 5.453 kB / 357.9 MB, free: 6.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006776/0.1945, allocations: 191.4 kB / 358.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.1947, allocations: 75.67 kB / 358.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.1947, allocations: 8 kB / 358.1 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01658/0.2113, allocations: 6.891 MB / 365 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.2115, allocations: 27.89 kB / 365.1 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.2117, allocations: 63.73 kB / 365.1 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007569/0.2193, allocations: 2.6 MB / 367.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-05/0.2193, allocations: 0 / 367.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.2193, allocations: 4 kB / 367.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.2193, allocations: 4 kB / 367.7 MB, free: 12.3 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.006034/0.2254, allocations: 1.15 MB / 368.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.562e-05/0.2255, allocations: 12.02 kB / 368.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004983/0.226, allocations: 52.8 kB / 368.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.2263, allocations: 220.1 kB / 369.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.2263, allocations: 12.31 kB / 369.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.2264, allocations: 16.38 kB / 369.2 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.2278, allocations: 380 kB / 369.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.2278, allocations: 0 / 369.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/0.2279, allocations: 12 kB / 369.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2279, allocations: 4 kB / 369.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.2295, allocations: 355.5 kB / 369.9 MB, free: 9.996 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.001914/0.2314, allocations: 1.187 MB / 371.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009897/0.2324, allocations: 279.7 kB / 371.4 MB, free: 8.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.2327, allocations: 110.9 kB / 371.5 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.399/0.6318, allocations: 47.45 MB / 418.9 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.92e-05/0.6319, allocations: 40.41 kB / 419 MB, free: 4.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 3.547e-06/0.6319, allocations: 0 / 419 MB, free: 4.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.006708/0.6386, allocations: 1.575 MB / 420.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.6387, allocations: 110.6 kB / 420.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.6388, allocations: 121.5 kB / 420.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.6388, allocations: 39.83 kB / 420.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.6389, allocations: 103.5 kB / 420.9 MB, free: 2.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.123e-05/0.639, allocations: 120 kB / 421 MB, free: 2.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.6391, allocations: 68.94 kB / 421.1 MB, free: 2.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.6392, allocations: 322.3 kB / 421.4 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.6396, allocations: 136.8 kB / 421.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.64, allocations: 199.4 kB / 421.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/0.6407, allocations: 350.4 kB / 422.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6408, allocations: 4 kB / 422.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001011/0.6418, allocations: 425.7 kB / 422.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.6418, allocations: 4 kB / 422.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.6418, allocations: 0 / 422.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.6421, allocations: 41.92 kB / 422.5 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.6425, allocations: 92.41 kB / 422.6 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003018/0.6428, allocations: 0.5447 MB / 423.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.6432, allocations: 32.97 kB / 423.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.6432, allocations: 15.38 kB / 423.2 MB, free: 0.9219 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.6433, allocations: 135.7 kB / 423.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.6435, allocations: 25.84 kB / 423.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.6455, allocations: 1.454 MB / 424.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.6455, allocations: 22.97 kB / 424.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.6455, allocations: 0 / 424.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.6455, allocations: 0 / 424.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.6485, allocations: 1.973 MB / 426.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.6485, allocations: 0 / 426.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005844/0.6491, allocations: 80.66 kB / 426.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003269/0.6495, allocations: 78.03 kB / 427 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.6495, allocations: 7.75 kB / 427 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004989/0.65, allocations: 0.5929 MB / 427.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.65, allocations: 0 / 427.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/0.6526, allocations: 1.705 MB / 429.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.6527, allocations: 126.4 kB / 429.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.875e-05/0.6528, allocations: 15.78 kB / 429.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.6531, allocations: 23.92 kB / 429.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.6532, allocations: 35.02 kB / 429.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.6533, allocations: 11.98 kB / 429.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.428e-05/0.6533, allocations: 88.03 kB / 429.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6534, allocations: 0 / 429.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003997/0.6574, allocations: 0.9596 MB / 430.6 MB, free: 11.37 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006186/0.6636, allocations: 1.14 MB / 431.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.6651, allocations: 0.6152 MB / 432.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.6651, allocations: 0 / 432.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008749/0.666, allocations: 0.5184 MB / 432.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008001/0.6668, allocations: 77.11 kB / 432.9 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.6698, allocations: 1.517 MB / 434.4 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.6703, allocations: 0.8166 MB / 435.2 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.6705, allocations: 39.41 kB / 435.3 MB, free: 7.477 MB / 334.1 MB Notification: Performance of SimCode: time 2.044e-06/0.6705, allocations: 0 / 435.3 MB, free: 7.477 MB / 334.1 MB Notification: Performance of Templates: time 0.04242/0.7129, allocations: 21.8 MB / 457.1 MB, free: 1.734 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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.WaterIF97CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.WaterIF97CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.WaterIF97CalcHelperMain.o] Error 1