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.001001/0.001001, allocations: 96.7 kB / 17.96 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.001138/0.001138, allocations: 180.2 kB / 18.86 MB, free: 4.773 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.951/1.951, allocations: 205.4 MB / 225 MB, free: 13.09 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.0005506/0.0005505, allocations: 12 kB / 282 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1459, allocations: 47.58 MB / 329.6 MB, free: 3.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01924/0.1652, allocations: 13.23 MB / 342.8 MB, free: 6.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01574/0.181, allocations: 12.28 MB / 355.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.1812, allocations: 7.938 kB / 355.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004095/0.1817, allocations: 55.7 kB / 355.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.182, allocations: 75.48 kB / 355.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01721/0.1992, allocations: 4.004 MB / 359.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005888/0.1999, allocations: 266.9 kB / 359.5 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2, allocations: 17.38 kB / 359.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005996/0.2006, allocations: 183.5 kB / 359.7 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.2007, allocations: 79.62 kB / 359.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2008, allocations: 4 kB / 359.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01577/0.2165, allocations: 6.895 MB / 366.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2167, allocations: 23.91 kB / 366.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.2169, allocations: 93.42 kB / 366.8 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006207/0.2231, allocations: 2.581 MB / 369.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.2231, allocations: 8 kB / 369.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.488e-06/0.2232, allocations: 3.938 kB / 369.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.2232, allocations: 0 / 369.4 MB, free: 11.87 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.005076/0.2283, allocations: 1.104 MB / 370.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.2283, allocations: 8.031 kB / 370.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004614/0.2288, allocations: 60.7 kB / 370.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.2291, allocations: 220.2 kB / 370.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.2291, allocations: 12.31 kB / 370.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.74e-05/0.2292, allocations: 20.28 kB / 370.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.2305, allocations: 396 kB / 371.2 MB, free: 9.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.2305, allocations: 0 / 371.2 MB, free: 9.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.2306, allocations: 8 kB / 371.2 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.2306, allocations: 4 kB / 371.2 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.232, allocations: 371.5 kB / 371.6 MB, free: 9.574 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.001685/0.2337, allocations: 1.191 MB / 372.8 MB, free: 8.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008423/0.2345, allocations: 287.8 kB / 373 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.2348, allocations: 114.9 kB / 373.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4036/0.6384, allocations: 47.88 MB / 421 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.6385, allocations: 42.42 kB / 421.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 4.618e-06/0.6385, allocations: 1.078 kB / 421.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.006472/0.645, allocations: 1.608 MB / 422.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.6451, allocations: 111.5 kB / 422.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.6452, allocations: 126.3 kB / 422.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.6452, allocations: 33.64 kB / 422.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.6453, allocations: 112.5 kB / 423.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.6454, allocations: 113.9 kB / 423.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.6455, allocations: 36.52 kB / 423.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.6456, allocations: 326.7 kB / 423.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.6459, allocations: 136.9 kB / 423.7 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.6463, allocations: 205.8 kB / 423.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008346/0.6472, allocations: 352.8 kB / 424.2 MB, free: 256 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.6472, allocations: 0 / 424.2 MB, free: 256 kB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001281/0.6485, allocations: 438.6 kB / 424.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.6485, allocations: 8 kB / 424.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.6485, allocations: 0 / 424.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003661/0.6489, allocations: 37.95 kB / 424.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.6496, allocations: 93.56 kB / 424.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006686/0.6503, allocations: 0.5465 MB / 425.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004504/0.6508, allocations: 33.19 kB / 425.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/0.6509, allocations: 11.38 kB / 425.4 MB, free: 15.22 MB / 334.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.0002773/0.6511, allocations: 149.1 kB / 425.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.6513, allocations: 23.73 kB / 425.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/0.6545, allocations: 1.464 MB / 427 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.873e-05/0.6545, allocations: 24.08 kB / 427 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.6545, allocations: 0 / 427 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.6546, allocations: 3.984 kB / 427 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004699/0.6593, allocations: 1.991 MB / 429 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.6593, allocations: 0 / 429 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/0.6599, allocations: 91.77 kB / 429.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005385/0.6605, allocations: 68.42 kB / 429.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/0.6606, allocations: 19.73 kB / 429.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000675/0.6613, allocations: 0.5887 MB / 429.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.6613, allocations: 4.031 kB / 429.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/0.665, allocations: 1.704 MB / 431.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.6652, allocations: 132.3 kB / 431.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.6653, allocations: 9.812 kB / 431.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/0.666, allocations: 29.08 kB / 431.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.6661, allocations: 28.03 kB / 431.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/0.6662, allocations: 19.8 kB / 431.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.572e-05/0.6663, allocations: 90.7 kB / 431.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6663, allocations: 0 / 431.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.005722/0.6721, allocations: 0.9546 MB / 432.7 MB, free: 9.605 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.008958/0.6811, allocations: 1.137 MB / 433.9 MB, free: 8.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.6832, allocations: 0.6052 MB / 434.5 MB, free: 8.266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.6832, allocations: 4 kB / 434.5 MB, free: 8.262 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.6844, allocations: 0.5128 MB / 435 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.6856, allocations: 83.41 kB / 435.1 MB, free: 7.918 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.6892, allocations: 1.607 MB / 436.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.6898, allocations: 0.8217 MB / 437.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.69, allocations: 31.42 kB / 437.5 MB, free: 5.609 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.69, allocations: 0 / 437.5 MB, free: 5.609 MB / 334.1 MB Notification: Performance of Templates: time 0.0435/0.7335, allocations: 21.8 MB / 459.3 MB, free: 15.93 MB / 366.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