Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.664/1.664, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 45.91 MB / 344.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003683, allocations: 4 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1634, allocations: 63.47 MB / 482.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03598/0.1994, allocations: 28.01 MB / 0.4982 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3655/0.5649, allocations: 16.36 MB / 0.5142 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006635/0.5657, allocations: 10.56 kB / 0.5142 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.5668, allocations: 173.5 kB / 0.5143 GB, free: 12.14 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001049/0.5679, allocations: 267 kB / 0.5146 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02021/0.5881, allocations: 4.648 MB / 0.5191 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.5902, allocations: 0.9514 MB / 0.5201 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004571/0.5907, allocations: 193 kB / 0.5202 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0205/0.6112, allocations: 8.929 MB / 0.529 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008288/0.6121, allocations: 233.1 kB / 0.5292 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.6122, allocations: 15.5 kB / 0.5292 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0153/0.6275, allocations: 6.026 MB / 0.5351 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.6277, allocations: 72 kB / 0.5352 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.628, allocations: 98.39 kB / 0.5352 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006289/0.6343, allocations: 2.583 MB / 0.5378 GB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.6343, allocations: 0 / 0.5378 GB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.6343, allocations: 4 kB / 0.5378 GB, free: 9.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.6344, allocations: 0 / 0.5378 GB, free: 9.363 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002631/0.637, allocations: 0.9822 MB / 0.5387 GB, free: 8.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.637, allocations: 8.031 kB / 0.5387 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.6386, allocations: 210.3 kB / 0.5389 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.6389, allocations: 332.8 kB / 0.5393 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.639, allocations: 22.56 kB / 0.5393 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.639, allocations: 25.25 kB / 0.5393 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6401, allocations: 0.4931 MB / 0.5398 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.6401, allocations: 3.938 kB / 0.5398 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.6401, allocations: 14.58 kB / 0.5398 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.6402, allocations: 8.516 kB / 0.5398 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.6412, allocations: 446.3 kB / 0.5402 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.6437, allocations: 2.434 MB / 0.5426 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.6448, allocations: 351.8 kB / 0.5429 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.6451, allocations: 128 kB / 0.5431 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03019/0.6753, allocations: 18.47 MB / 0.5611 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.6754, allocations: 42.38 kB / 0.5611 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.465e-06/0.6754, allocations: 0 / 0.5611 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002058/0.6774, allocations: 0.5675 MB / 0.5617 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.6775, allocations: 106.8 kB / 0.5618 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.6779, allocations: 315.7 kB / 0.5621 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.6779, allocations: 28.58 kB / 0.5621 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.6781, allocations: 210.5 kB / 0.5623 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.6782, allocations: 49.11 kB / 0.5624 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.6782, allocations: 4.625 kB / 0.5624 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6783, allocations: 338 kB / 0.5627 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.6786, allocations: 104.3 kB / 0.5628 GB, free: 14.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.679, allocations: 228.9 kB / 0.563 GB, free: 13.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.6793, allocations: 118.2 kB / 0.5631 GB, free: 13.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.6793, allocations: 0 / 0.5631 GB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006997/0.68, allocations: 362 kB / 0.5635 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.68, allocations: 11.95 kB / 0.5635 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.68, allocations: 4 kB / 0.5635 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.68, allocations: 4 kB / 0.5635 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.6803, allocations: 79.98 kB / 0.5636 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.6803, allocations: 7.984 kB / 0.5636 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.6806, allocations: 49.7 kB / 0.5636 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.6807, allocations: 17.19 kB / 0.5636 GB, free: 13.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.6808, allocations: 157 kB / 0.5638 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/0.6809, allocations: 27.62 kB / 0.5638 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.6823, allocations: 1.156 MB / 0.565 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.6823, allocations: 12.48 kB / 0.565 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.6824, allocations: 0 / 0.565 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.6824, allocations: 7.984 kB / 0.565 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006431/0.683, allocations: 0.6663 MB / 0.5656 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.683, allocations: 0 / 0.5656 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.6832, allocations: 61.89 kB / 0.5657 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.6833, allocations: 7.938 kB / 0.5657 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.6833, allocations: 4 kB / 0.5657 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6833, allocations: 4 kB / 0.5657 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6833, allocations: 0 / 0.5657 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008227/0.6841, allocations: 0.6364 MB / 0.5663 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.6843, allocations: 203.4 kB / 0.5665 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.6843, allocations: 0 / 0.5665 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.6846, allocations: 35.03 kB / 0.5665 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.6846, allocations: 19.78 kB / 0.5666 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.6847, allocations: 7.984 kB / 0.5666 GB, free: 11.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003527/0.685, allocations: 335.2 kB / 0.5669 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.685, allocations: 0 / 0.5669 GB, free: 10.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003242/0.6883, allocations: 0.8478 MB / 0.5677 GB, free: 9.965 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003823/0.6921, allocations: 1.022 MB / 0.5687 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007935/0.6929, allocations: 377.9 kB / 0.5691 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6929, allocations: 0 / 0.5691 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.6933, allocations: 270.8 kB / 0.5693 GB, free: 8.613 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009696/0.6943, allocations: 180.7 kB / 0.5695 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.696, allocations: 1.297 MB / 0.5708 GB, free: 7.273 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.6964, allocations: 0.8683 MB / 0.5716 GB, free: 6.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.454e-05/0.6965, allocations: 44.38 kB / 0.5717 GB, free: 6.34 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6965, allocations: 0 / 0.5717 GB, free: 6.34 MB / 414.1 MB Notification: Performance of Templates: time 0.03428/0.7308, allocations: 20.5 MB / 0.5917 GB, free: 1.973 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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 OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropyCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropyCalcHelperMain.o] Error 1