Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 93.95 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.0009499/0.00095, allocations: 179.8 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.95/1.95, allocations: 205.4 MB / 225 MB, free: 13.06 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.000522/0.0005222, allocations: 12 kB / 282 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.144, allocations: 47.59 MB / 329.6 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02035/0.1644, allocations: 12.33 MB / 342 MB, free: 7.348 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003954/0.1684, allocations: 1.678 MB / 343.6 MB, free: 5.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006012/0.1691, allocations: 7.938 kB / 343.6 MB, free: 5.656 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000884/0.17, allocations: 147.2 kB / 343.8 MB, free: 5.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.1712, allocations: 306.4 kB / 344.1 MB, free: 5.211 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.1728, allocations: 383.2 kB / 344.5 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002176/0.175, allocations: 1.285 MB / 345.8 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.1753, allocations: 76.69 kB / 345.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009463/0.1762, allocations: 342.6 kB / 346.2 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000538/0.1768, allocations: 274.9 kB / 346.4 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.1768, allocations: 12 kB / 346.4 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.1773, allocations: 115.8 kB / 346.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.1774, allocations: 71.72 kB / 346.6 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.1777, allocations: 197 kB / 346.8 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005682/0.1783, allocations: 359.3 kB / 347.2 MB, free: 2.121 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.1783, allocations: 4 kB / 347.2 MB, free: 2.117 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1783, allocations: 0 / 347.2 MB, free: 2.117 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.1784, allocations: 0 / 347.2 MB, free: 2.117 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001038/0.1794, allocations: 0.5108 MB / 347.7 MB, free: 1.559 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.1795, allocations: 8.031 kB / 347.7 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004507/0.1799, allocations: 44.55 kB / 347.7 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.1805, allocations: 283.7 kB / 348 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.1806, allocations: 20.94 kB / 348 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.1806, allocations: 24.38 kB / 348.1 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.1815, allocations: 321.5 kB / 348.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.1815, allocations: 4 kB / 348.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.864e-05/0.1816, allocations: 12 kB / 348.4 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1816, allocations: 4 kB / 348.4 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.1821, allocations: 197.5 kB / 348.6 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.1851, allocations: 1.732 MB / 350.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.1855, allocations: 134.5 kB / 350.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.1857, allocations: 68.83 kB / 350.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.1859, allocations: 166.2 kB / 350.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.186, allocations: 38.55 kB / 350.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 5.2e-06/0.186, allocations: 3.984 kB / 350.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.002477/0.1885, allocations: 0.7998 MB / 351.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.1886, allocations: 55.41 kB / 351.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.189, allocations: 286.5 kB / 351.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.1891, allocations: 25.7 kB / 351.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.1893, allocations: 199.5 kB / 352.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.51e-05/0.1894, allocations: 75 kB / 352.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/0.1895, allocations: 33.7 kB / 352.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.1897, allocations: 338.8 kB / 352.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.1899, allocations: 71.75 kB / 352.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.1902, allocations: 191.2 kB / 352.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.1908, allocations: 275.2 kB / 353 MB, free: 11.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1908, allocations: 0 / 353 MB, free: 11.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007575/0.1915, allocations: 337.9 kB / 353.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.1916, allocations: 8 kB / 353.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.1916, allocations: 4 kB / 353.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/0.1917, allocations: 32.72 kB / 353.4 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.1922, allocations: 83.89 kB / 353.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.1939, allocations: 1.288 MB / 354.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.1942, allocations: 28.08 kB / 354.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.1943, allocations: 16 kB / 354.8 MB, free: 9.762 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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.0002549/0.1945, allocations: 153.7 kB / 355 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.442e-05/0.1946, allocations: 31.66 kB / 355 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.1951, allocations: 205.6 kB / 355.2 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1952, allocations: 4 kB / 355.2 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.1952, allocations: 0 / 355.2 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005583/0.1957, allocations: 495.7 kB / 355.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.1974, allocations: 0.78 MB / 356.5 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.1974, allocations: 4 kB / 356.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.1977, allocations: 43.98 kB / 356.5 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.1977, allocations: 4 kB / 356.5 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.1978, allocations: 4 kB / 356.5 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.1978, allocations: 3.938 kB / 356.5 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.1978, allocations: 7.984 kB / 356.5 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.1985, allocations: 407.5 kB / 356.9 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.1986, allocations: 100.9 kB / 357 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/0.1987, allocations: 12.03 kB / 357 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.199, allocations: 15.98 kB / 357.1 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.1991, allocations: 23.91 kB / 357.1 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.1991, allocations: 16.06 kB / 357.1 MB, free: 7.215 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.1993, allocations: 201.9 kB / 357.3 MB, free: 7.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1993, allocations: 0 / 357.3 MB, free: 7.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004773/0.1998, allocations: 99.94 kB / 357.4 MB, free: 6.922 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.0002966/0.2001, allocations: 139.1 kB / 357.5 MB, free: 6.777 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005378/0.2007, allocations: 314.2 kB / 357.8 MB, free: 6.457 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2007, allocations: 0 / 357.8 MB, free: 6.457 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.2008, allocations: 73.22 kB / 357.9 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.2024, allocations: 148.9 kB / 358.1 MB, free: 6.238 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.204, allocations: 0.8026 MB / 358.9 MB, free: 5.371 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.2045, allocations: 0.7641 MB / 359.6 MB, free: 4.578 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.2046, allocations: 27.44 kB / 359.6 MB, free: 4.551 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2046, allocations: 0 / 359.6 MB, free: 4.551 MB / 302.1 MB Notification: Performance of Templates: time 0.01308/0.2177, allocations: 5.153 MB / 364.8 MB, free: 15.39 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Tests.MediaTestModels.Water.ConstantPropertyLiquidWaterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWaterCalcHelperMain.o] Error 1