Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001104, allocations: 93.55 kB / 17.64 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009565/0.0009568, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2584/0.2584, allocations: 45.93 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002981, allocations: 8 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1576, allocations: 63.46 MB / 482.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5902/0.7479, allocations: 159 MB / 0.6261 GB, free: 7.426 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008654/0.7566, allocations: 5.109 MB / 0.6311 GB, free: 2.305 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.7579, allocations: 23.81 kB / 0.6311 GB, free: 2.281 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.759, allocations: 254.3 kB / 0.6314 GB, free: 2.031 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783: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.004336/0.7633, allocations: 1.174 MB / 0.6325 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003555/0.7669, allocations: 0.8314 MB / 0.6333 GB, free: 32 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003489/0.7704, allocations: 2.253 MB / 0.6355 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008589/0.7713, allocations: 377.1 kB / 0.6359 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002881/0.7741, allocations: 0.9127 MB / 0.6368 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.7757, allocations: 0.7361 MB / 0.6375 GB, free: 11.74 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.7758, allocations: 32 kB / 0.6375 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.7774, allocations: 459.3 kB / 0.638 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000344/0.7778, allocations: 235.3 kB / 0.6382 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.7781, allocations: 161.4 kB / 0.6384 GB, free: 10.87 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.7793, allocations: 0.9391 MB / 0.6393 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.7793, allocations: 0 / 0.6393 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.7794, allocations: 0 / 0.6393 GB, free: 9.926 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.7794, allocations: 0 / 0.6393 GB, free: 9.926 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002143/0.7815, allocations: 0.9588 MB / 0.6402 GB, free: 8.918 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.7816, allocations: 8.031 kB / 0.6402 GB, free: 8.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007465/0.7823, allocations: 135 kB / 0.6403 GB, free: 8.777 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008212/0.7832, allocations: 492.6 kB / 0.6408 GB, free: 8.254 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.7833, allocations: 112.4 kB / 0.6409 GB, free: 8.133 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.7834, allocations: 44 kB / 0.641 GB, free: 8.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.7848, allocations: 0.8216 MB / 0.6418 GB, free: 7.195 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.7848, allocations: 0 / 0.6418 GB, free: 7.195 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.916e-05/0.7849, allocations: 27.98 kB / 0.6418 GB, free: 7.168 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-05/0.785, allocations: 40.94 kB / 0.6418 GB, free: 7.125 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.786, allocations: 0.6321 MB / 0.6425 GB, free: 6.496 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004642/0.7907, allocations: 3.939 MB / 0.6463 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.7913, allocations: 347.7 kB / 0.6466 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.7916, allocations: 173.3 kB / 0.6468 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.7917, allocations: 93.33 kB / 0.6469 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.7918, allocations: 34.84 kB / 0.6469 GB, free: 1.637 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.385e-06/0.7918, allocations: 0 / 0.6469 GB, free: 1.637 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005284/0.7971, allocations: 1.672 MB / 0.6486 GB, free: 15.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/0.7972, allocations: 132.5 kB / 0.6487 GB, free: 15.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.7979, allocations: 0.6093 MB / 0.6493 GB, free: 15.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.798, allocations: 37.64 kB / 0.6493 GB, free: 15.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.7983, allocations: 366.8 kB / 0.6497 GB, free: 14.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.7984, allocations: 146 kB / 0.6498 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.7984, allocations: 16 kB / 0.6498 GB, free: 14.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.7986, allocations: 374.8 kB / 0.6502 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.799, allocations: 201.9 kB / 0.6504 GB, free: 13.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.7995, allocations: 0.5086 MB / 0.6509 GB, free: 13.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004902/0.8, allocations: 300.4 kB / 0.6511 GB, free: 13.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.8001, allocations: 4 kB / 0.6511 GB, free: 13.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001455/0.8015, allocations: 0.8723 MB / 0.652 GB, free: 12.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.8016, allocations: 12.25 kB / 0.652 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.8016, allocations: 12 kB / 0.652 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.8029, allocations: 314.9 kB / 0.6523 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.8033, allocations: 127.8 kB / 0.6524 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.8045, allocations: 0.9251 MB / 0.6533 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.8051, allocations: 43.97 kB / 0.6534 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/0.8052, allocations: 68 kB / 0.6535 GB, free: 10.62 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003951/0.8056, allocations: 254.1 kB / 0.6537 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.8057, allocations: 71.16 kB / 0.6538 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.8075, allocations: 0.8665 MB / 0.6546 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.8075, allocations: 4 kB / 0.6546 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8076, allocations: 0 / 0.6546 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.8076, allocations: 0 / 0.6546 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.8096, allocations: 1.449 MB / 0.656 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.8096, allocations: 4 kB / 0.656 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000959/0.8106, allocations: 203.8 kB / 0.6562 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.954e-05/0.8107, allocations: 32.95 kB / 0.6563 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.8108, allocations: 20 kB / 0.6563 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002772/0.8135, allocations: 2.688 MB / 0.6589 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.8136, allocations: 4.031 kB / 0.6589 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.8149, allocations: 0.8168 MB / 0.6597 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003198/0.8152, allocations: 192.2 kB / 0.6599 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.786e-05/0.8153, allocations: 12 kB / 0.6599 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.8157, allocations: 27.92 kB / 0.6599 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.437e-05/0.8158, allocations: 43.97 kB / 0.66 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.115e-05/0.8159, allocations: 43.98 kB / 0.66 GB, free: 3.422 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007145/0.8166, allocations: 431 kB / 0.6604 GB, free: 3.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8166, allocations: 0 / 0.6604 GB, free: 3.004 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00106/0.8177, allocations: 255.9 kB / 0.6607 GB, free: 2.754 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008572/0.8186, allocations: 302.9 kB / 0.661 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.8198, allocations: 0.5595 MB / 0.6615 GB, free: 1.902 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8198, allocations: 0 / 0.6615 GB, free: 1.902 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009421/0.8208, allocations: 406.3 kB / 0.6619 GB, free: 1.492 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.8224, allocations: 339 kB / 0.6622 GB, free: 1.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.8249, allocations: 1.612 MB / 0.6638 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/0.8256, allocations: 0.9261 MB / 0.6647 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/0.8261, allocations: 131.4 kB / 0.6648 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.8261, allocations: 0 / 0.6648 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.02578/0.8519, allocations: 16.35 MB / 0.6808 GB, free: 14.12 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.Media.TestsWithFluid.MediaTestModels.IdealGases.NitrogenCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.NitrogenCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.NitrogenCalcHelperMain.o] Error 1