Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT,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.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008966/0.0008967, allocations: 89.56 kB / 17.58 MB, free: 6.215 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.0009794/0.0009793, allocations: 188.2 kB / 18.48 MB, free: 5.379 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.658/1.658, allocations: 205.4 MB / 224.6 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.0004358/0.0004359, allocations: 8 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1203, allocations: 47.59 MB / 329 MB, free: 4.047 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04152/0.1618, allocations: 36.36 MB / 365.4 MB, free: 15.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.1646, allocations: 1.923 MB / 367.3 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.1649, allocations: 4 kB / 367.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006149/0.1655, allocations: 131.2 kB / 367.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006229/0.1661, allocations: 290.5 kB / 367.7 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.1668, allocations: 227.5 kB / 367.9 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.1679, allocations: 1.067 MB / 369 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.1681, allocations: 72.69 kB / 369.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3783/0.5464, allocations: 73.14 MB / 442.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008802/0.5473, allocations: 267.2 kB / 442.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.341e-05/0.5474, allocations: 12 kB / 442.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.5476, allocations: 22.5 kB / 442.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.5477, allocations: 72.59 kB / 442.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.5478, allocations: 88.55 kB / 442.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.5483, allocations: 332.9 kB / 443 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.5483, allocations: 4 kB / 443 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5483, allocations: 0 / 443 MB, free: 13.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.5483, allocations: 0 / 443 MB, free: 13.28 MB / 350.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.0009871/0.5493, allocations: 0.5144 MB / 443.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.5494, allocations: 10.84 kB / 443.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003033/0.5497, allocations: 47.11 kB / 443.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.5501, allocations: 270.6 kB / 443.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.5501, allocations: 19.62 kB / 443.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.5502, allocations: 26.5 kB / 443.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.5507, allocations: 299.5 kB / 444.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.5507, allocations: 7.188 kB / 444.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.5507, allocations: 12.52 kB / 444.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.5508, allocations: 4 kB / 444.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.5511, allocations: 201.1 kB / 444.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.5528, allocations: 1.429 MB / 445.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.5531, allocations: 179 kB / 446 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.5533, allocations: 90.67 kB / 446.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.5533, allocations: 7 kB / 446.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.5533, allocations: 41.78 kB / 446.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.5534, allocations: 0 / 446.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.002455/0.5558, allocations: 0.9955 MB / 447.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.5559, allocations: 62.86 kB / 447.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.5562, allocations: 261.7 kB / 447.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.5562, allocations: 32.95 kB / 447.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.5563, allocations: 174.3 kB / 447.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/0.5564, allocations: 95.47 kB / 447.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.5564, allocations: 3.938 kB / 447.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.5566, allocations: 342.5 kB / 448.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.5567, allocations: 84.81 kB / 448.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.5569, allocations: 182.5 kB / 448.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.5571, allocations: 114.6 kB / 448.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5571, allocations: 0 / 448.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006358/0.5578, allocations: 389.5 kB / 448.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5578, allocations: 4 kB / 448.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.5578, allocations: 4 kB / 448.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/0.5581, allocations: 61.92 kB / 448.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.5584, allocations: 69.06 kB / 449 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.5607, allocations: 2.678 MB / 451.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.5609, allocations: 27.77 kB / 451.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.5609, allocations: 14.06 kB / 451.7 MB, free: 5.23 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.5611, allocations: 153.5 kB / 451.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.475e-05/0.5612, allocations: 27.67 kB / 451.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.124e-05/0.5613, allocations: 39.3 kB / 451.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5613, allocations: 0 / 451.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5613, allocations: 2.938 kB / 451.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006263/0.5619, allocations: 0.5669 MB / 452.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.563, allocations: 0.7009 MB / 453.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.563, allocations: 0 / 453.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.5632, allocations: 43.48 kB / 453.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/0.5634, allocations: 67.7 kB / 453.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.5635, allocations: 7.438 kB / 453.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.5646, allocations: 1.385 MB / 454.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5646, allocations: 6.609 kB / 454.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.5653, allocations: 475.1 kB / 455.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.549e-05/0.5654, allocations: 99.73 kB / 455.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.5655, allocations: 6.844 kB / 455.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.5657, allocations: 15.23 kB / 455.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.5657, allocations: 19.3 kB / 455.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.5657, allocations: 13.3 kB / 455.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.5659, allocations: 187.8 kB / 455.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5659, allocations: 0 / 455.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004164/0.5664, allocations: 88 kB / 455.5 MB, free: 1.621 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001515/0.5665, allocations: 101.6 kB / 455.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007068/0.5672, allocations: 480.1 kB / 456.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5673, allocations: 0 / 456.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.5676, allocations: 230.8 kB / 456.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/0.5686, allocations: 173.7 kB / 456.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.5699, allocations: 0.8485 MB / 457.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.5703, allocations: 0.7685 MB / 458.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.83e-05/0.5704, allocations: 31.44 kB / 458.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5704, allocations: 0 / 458.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of Templates: time 0.008652/0.5791, allocations: 5.924 MB / 464.1 MB, free: 9.297 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.o] Error 1