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.001421/0.001421, allocations: 108.1 kB / 17.81 MB, free: 5.559 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.001593/0.001593, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.965/1.965, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.002186/0.002186, allocations: 47.94 kB / 280.6 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1597, allocations: 46.63 MB / 327.3 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.02138/0.1811, allocations: 15.98 MB / 343.2 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.1846, allocations: 1.916 MB / 345.2 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.1849, allocations: 8 kB / 345.2 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007072/0.1856, allocations: 147.2 kB / 345.3 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006251/0.1862, allocations: 298.5 kB / 345.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00074/0.187, allocations: 267.5 kB / 345.9 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.1884, allocations: 1.297 MB / 347.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.1886, allocations: 72.55 kB / 347.2 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.1898, allocations: 454.2 kB / 347.7 MB, free: 388 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.1903, allocations: 290.9 kB / 348 MB, free: 96 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.1903, allocations: 16 kB / 348 MB, free: 80 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.1905, allocations: 35.94 kB / 348 MB, free: 44 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.1907, allocations: 75.77 kB / 348.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.1909, allocations: 163.3 kB / 348.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.1914, allocations: 335.5 kB / 348.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.1914, allocations: 4 kB / 348.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.1914, allocations: 0 / 348.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1914, allocations: 3.938 kB / 348.6 MB, free: 15.47 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.001139/0.1925, allocations: 0.5887 MB / 349.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1926, allocations: 8.031 kB / 349.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.1929, allocations: 36.66 kB / 349.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.1933, allocations: 279.7 kB / 349.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.1933, allocations: 16.94 kB / 349.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.1934, allocations: 24.38 kB / 349.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.194, allocations: 311.8 kB / 349.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.194, allocations: 3.938 kB / 349.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.1941, allocations: 12 kB / 349.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1941, allocations: 8 kB / 349.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.1944, allocations: 197.6 kB / 350 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.1964, allocations: 1.428 MB / 351.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.1968, allocations: 182.6 kB / 351.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.1969, allocations: 84.83 kB / 351.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.197, allocations: 11.98 kB / 351.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.197, allocations: 38.5 kB / 351.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.197, allocations: 0 / 351.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.002764/0.1998, allocations: 0.9881 MB / 352.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.1999, allocations: 63.39 kB / 352.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.2002, allocations: 258.6 kB / 353.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.2002, allocations: 33.7 kB / 353.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.2004, allocations: 180.1 kB / 353.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/0.2005, allocations: 98.62 kB / 353.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.2007, allocations: 69.39 kB / 353.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.2009, allocations: 330.8 kB / 353.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.201, allocations: 87.97 kB / 353.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.2013, allocations: 178.9 kB / 354 MB, free: 9.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.2018, allocations: 294.9 kB / 354.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2018, allocations: 4 kB / 354.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007262/0.2025, allocations: 375 kB / 354.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.2026, allocations: 12.06 kB / 354.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2026, allocations: 4 kB / 354.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/0.2029, allocations: 61.67 kB / 354.8 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.2032, allocations: 63.91 kB / 354.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/0.2059, allocations: 2.681 MB / 357.5 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.2061, allocations: 15.98 kB / 357.5 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.2062, allocations: 20.06 kB / 357.6 MB, free: 5.75 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.0001796/0.2064, allocations: 149.7 kB / 357.7 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.2064, allocations: 31.66 kB / 357.7 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.571e-05/0.2065, allocations: 34.17 kB / 357.8 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2065, allocations: 4.141 kB / 357.8 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.2065, allocations: 3.984 kB / 357.8 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000703/0.2073, allocations: 0.567 MB / 358.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.2084, allocations: 0.7028 MB / 359 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2084, allocations: 4 kB / 359 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.2086, allocations: 43.97 kB / 359.1 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002323/0.2089, allocations: 60.67 kB / 359.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.2089, allocations: 4 kB / 359.2 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.2106, allocations: 1.378 MB / 360.5 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.2107, allocations: 3.938 kB / 360.5 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007511/0.2114, allocations: 477.1 kB / 361 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.2115, allocations: 100.9 kB / 361.1 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.2116, allocations: 4 kB / 361.1 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.2118, allocations: 23.86 kB / 361.1 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.2118, allocations: 15.92 kB / 361.1 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.2119, allocations: 11.98 kB / 361.2 MB, free: 1.812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002047/0.2121, allocations: 186 kB / 361.3 MB, free: 1.629 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.2121, allocations: 4.062 kB / 361.3 MB, free: 1.625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004322/0.2125, allocations: 92 kB / 361.4 MB, free: 1.535 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.0001649/0.2127, allocations: 99.25 kB / 361.5 MB, free: 1.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009062/0.2136, allocations: 481.9 kB / 362 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2136, allocations: 0 / 362 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.2141, allocations: 234.5 kB / 362.2 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.2152, allocations: 169.7 kB / 362.4 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.2169, allocations: 0.8158 MB / 363.2 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/0.2174, allocations: 0.7684 MB / 364 MB, free: 14.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.618e-05/0.2175, allocations: 27.44 kB / 364 MB, free: 14.86 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2176, allocations: 0 / 364 MB, free: 14.86 MB / 318.1 MB Notification: Performance of Templates: time 0.01001/0.2276, allocations: 5.923 MB / 369.9 MB, free: 8.93 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