Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009343/0.0009342, allocations: 89.45 kB / 17.95 MB, free: 5.625 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.00115/0.001151, allocations: 180.6 kB / 18.86 MB, free: 4.77 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.966/1.966, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005394/0.0005398, allocations: 20.28 kB / 282 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1463, allocations: 47.59 MB / 329.6 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01882/0.1651, allocations: 15.45 MB / 345.1 MB, free: 4.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.1683, allocations: 1.897 MB / 347 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.1686, allocations: 7.938 kB / 347 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006898/0.1693, allocations: 143.2 kB / 347.1 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000747/0.1701, allocations: 302.4 kB / 347.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007096/0.1708, allocations: 267.5 kB / 347.7 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.1721, allocations: 1.293 MB / 349 MB, free: 332 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.1723, allocations: 68.7 kB / 349 MB, free: 260 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000966/0.1732, allocations: 454.1 kB / 349.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.1736, allocations: 286.8 kB / 349.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.1737, allocations: 16 kB / 349.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1738, allocations: 16 kB / 349.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1739, allocations: 83.66 kB / 349.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.1742, allocations: 185 kB / 350.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.1745, allocations: 323.4 kB / 350.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1745, allocations: 0 / 350.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1745, allocations: 4 kB / 350.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1746, allocations: 4 kB / 350.4 MB, free: 14.9 MB / 302.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.0008983/0.1755, allocations: 0.5225 MB / 350.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1755, allocations: 12.03 kB / 350.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.1758, allocations: 40.56 kB / 351 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.1762, allocations: 283.7 kB / 351.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.1763, allocations: 16.94 kB / 351.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.1763, allocations: 24.38 kB / 351.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.1769, allocations: 311.8 kB / 351.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.1769, allocations: 3.984 kB / 351.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.1769, allocations: 12 kB / 351.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.177, allocations: 11.94 kB / 351.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.1773, allocations: 197.6 kB / 351.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.1793, allocations: 1.432 MB / 353.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.1797, allocations: 178.6 kB / 353.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.1799, allocations: 88.83 kB / 353.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1799, allocations: 4 kB / 353.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1799, allocations: 34.56 kB / 353.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.18, allocations: 4 kB / 353.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.002759/0.1827, allocations: 0.9999 MB / 354.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.1828, allocations: 59.39 kB / 354.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.1831, allocations: 262.5 kB / 354.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.1831, allocations: 29.7 kB / 354.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.1833, allocations: 176.2 kB / 355 MB, free: 9.875 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.023e-05/0.1834, allocations: 94.64 kB / 355.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.17e-05/0.1835, allocations: 37.7 kB / 355.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1837, allocations: 334.8 kB / 355.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.1838, allocations: 87.75 kB / 355.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.1841, allocations: 182.8 kB / 355.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.1845, allocations: 287 kB / 356 MB, free: 8.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1845, allocations: 0 / 356 MB, free: 8.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006864/0.1852, allocations: 382.7 kB / 356.4 MB, free: 8.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.1853, allocations: 8 kB / 356.4 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1853, allocations: 0 / 356.4 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003104/0.1856, allocations: 74.02 kB / 356.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.1859, allocations: 75.84 kB / 356.6 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.1884, allocations: 2.677 MB / 359.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.1887, allocations: 19.98 kB / 359.3 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.1887, allocations: 15.94 kB / 359.3 MB, free: 5.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.1889, allocations: 149.8 kB / 359.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.189, allocations: 31.66 kB / 359.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.824e-05/0.1891, allocations: 42.11 kB / 359.5 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1891, allocations: 4 kB / 359.5 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1891, allocations: 0 / 359.5 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007102/0.1898, allocations: 0.571 MB / 360.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.1909, allocations: 0.7028 MB / 360.8 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.191, allocations: 0 / 360.8 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.1912, allocations: 43.92 kB / 360.8 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002715/0.1914, allocations: 56.81 kB / 360.9 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.1915, allocations: 11.98 kB / 360.9 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.1928, allocations: 1.393 MB / 362.3 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1928, allocations: 0 / 362.3 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000789/0.1936, allocations: 477 kB / 362.8 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.696e-05/0.1938, allocations: 96.86 kB / 362.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.1938, allocations: 8.125 kB / 362.9 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.194, allocations: 27.77 kB / 362.9 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.1941, allocations: 19.97 kB / 362.9 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1941, allocations: 8 kB / 362.9 MB, free: 1.289 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.1943, allocations: 186 kB / 363.1 MB, free: 1.105 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1943, allocations: 0 / 363.1 MB, free: 1.105 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004222/0.1948, allocations: 88 kB / 363.2 MB, free: 1.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (24): * Single equations (assignments): 23 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001747/0.1949, allocations: 107.2 kB / 363.3 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008094/0.1958, allocations: 466.1 kB / 363.7 MB, free: 436 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1958, allocations: 8 kB / 363.7 MB, free: 428 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.1962, allocations: 238.5 kB / 364 MB, free: 176 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.1973, allocations: 157.9 kB / 364.1 MB, free: 20 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.1987, allocations: 0.8794 MB / 365 MB, free: 15.11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.1992, allocations: 0.7645 MB / 365.8 MB, free: 14.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.851e-05/0.1993, allocations: 27.44 kB / 365.8 MB, free: 14.29 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1993, allocations: 0 / 365.8 MB, free: 14.29 MB / 318.1 MB Notification: Performance of Templates: time 0.009615/0.2089, allocations: 5.915 MB / 371.7 MB, free: 8.367 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWaterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWaterCalcHelperMain.o] Error 1