Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009578/0.0009578, allocations: 89.39 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 45.9 MB / 344.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003009, allocations: 8 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1723, allocations: 63.46 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.4555/0.6279, allocations: 41.28 MB / 0.5111 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008853/0.6368, allocations: 4.222 MB / 0.5153 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.6381, allocations: 25.55 kB / 0.5153 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.6392, allocations: 257.2 kB / 0.5155 GB, free: 11.46 MB / 382.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.002707/0.6419, allocations: 0.7914 MB / 0.5163 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.6447, allocations: 0.6867 MB / 0.517 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004243/0.649, allocations: 2.209 MB / 0.5191 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009497/0.65, allocations: 379.4 kB / 0.5195 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1449/0.7949, allocations: 73.54 MB / 0.5913 GB, free: 5.949 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02662/0.8216, allocations: 13.72 MB / 0.6047 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.8219, allocations: 33.75 kB / 0.6047 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03656/0.8585, allocations: 18.73 MB / 0.623 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007205/0.8592, allocations: 234.7 kB / 0.6233 GB, free: 5.426 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004827/0.8597, allocations: 165.4 kB / 0.6234 GB, free: 5.258 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.861, allocations: 0.7692 MB / 0.6242 GB, free: 4.523 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.861, allocations: 0 / 0.6242 GB, free: 4.523 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.8611, allocations: 0 / 0.6242 GB, free: 4.523 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.8611, allocations: 0 / 0.6242 GB, free: 4.523 MB / 462.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.00218/0.8633, allocations: 0.9282 MB / 0.6251 GB, free: 3.559 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.8633, allocations: 12.03 kB / 0.6251 GB, free: 3.547 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/0.8637, allocations: 88.44 kB / 0.6252 GB, free: 3.461 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008629/0.8645, allocations: 498 kB / 0.6256 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.8647, allocations: 100.4 kB / 0.6257 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.165e-05/0.8648, allocations: 47.28 kB / 0.6258 GB, free: 2.797 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.8661, allocations: 0.8185 MB / 0.6266 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.8662, allocations: 0 / 0.6266 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.299e-05/0.8662, allocations: 27.59 kB / 0.6266 GB, free: 1.883 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.798e-05/0.8663, allocations: 44.91 kB / 0.6267 GB, free: 1.836 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.8674, allocations: 0.64 MB / 0.6273 GB, free: 1.199 MB / 462.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.004992/0.8724, allocations: 4.215 MB / 0.6314 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009258/0.8734, allocations: 418.2 kB / 0.6318 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.8737, allocations: 209.4 kB / 0.632 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005449/0.8743, allocations: 0.4951 MB / 0.6325 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.8743, allocations: 52.8 kB / 0.6325 GB, free: 11.44 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.8743, allocations: 0 / 0.6325 GB, free: 11.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003254/0.8776, allocations: 1.531 MB / 0.634 GB, free: 9.852 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.8777, allocations: 132.5 kB / 0.6342 GB, free: 9.691 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006852/0.8784, allocations: 0.5692 MB / 0.6347 GB, free: 9.113 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.8784, allocations: 33.7 kB / 0.6347 GB, free: 9.074 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.8787, allocations: 350.4 kB / 0.6351 GB, free: 8.727 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.8789, allocations: 165.2 kB / 0.6352 GB, free: 8.566 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.8789, allocations: 16 kB / 0.6352 GB, free: 8.551 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.8791, allocations: 378.8 kB / 0.6356 GB, free: 8.172 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.8795, allocations: 217.9 kB / 0.6358 GB, free: 7.961 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006163/0.8801, allocations: 0.517 MB / 0.6363 GB, free: 7.309 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005228/0.8807, allocations: 316.6 kB / 0.6366 GB, free: 7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8807, allocations: 0 / 0.6366 GB, free: 7 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001915/0.8826, allocations: 0.9647 MB / 0.6376 GB, free: 6.023 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.8826, allocations: 16.03 kB / 0.6376 GB, free: 6.008 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.8826, allocations: 8 kB / 0.6376 GB, free: 6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.8838, allocations: 271.4 kB / 0.6378 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/0.8842, allocations: 127.8 kB / 0.638 GB, free: 5.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.8853, allocations: 0.8684 MB / 0.6388 GB, free: 4.719 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.8858, allocations: 39.98 kB / 0.6389 GB, free: 4.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/0.8859, allocations: 32 kB / 0.6389 GB, free: 4.648 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003499/0.8863, allocations: 250.1 kB / 0.6391 GB, free: 4.395 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.8864, allocations: 71.16 kB / 0.6392 GB, free: 4.324 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.8878, allocations: 0.7111 MB / 0.6399 GB, free: 3.613 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.8878, allocations: 6.844 kB / 0.6399 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.8879, allocations: 0 / 0.6399 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.8879, allocations: 0 / 0.6399 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.8902, allocations: 1.405 MB / 0.6413 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.8902, allocations: 3.984 kB / 0.6413 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000948/0.8911, allocations: 196 kB / 0.6415 GB, free: 1.938 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000277/0.8914, allocations: 60.73 kB / 0.6415 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.8915, allocations: 16 kB / 0.6415 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/0.8943, allocations: 2.795 MB / 0.6443 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8943, allocations: 0 / 0.6443 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.8958, allocations: 1.001 MB / 0.6452 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003149/0.8961, allocations: 200.2 kB / 0.6454 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.508e-05/0.8962, allocations: 12 kB / 0.6454 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.8966, allocations: 31.97 kB / 0.6455 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.8968, allocations: 39.97 kB / 0.6455 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.8968, allocations: 23.92 kB / 0.6455 GB, free: 13.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005623/0.8974, allocations: 390.8 kB / 0.6459 GB, free: 13.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8974, allocations: 0 / 0.6459 GB, free: 13.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009274/0.8983, allocations: 207.9 kB / 0.6461 GB, free: 12.86 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005461/0.8989, allocations: 227.3 kB / 0.6463 GB, free: 12.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.9001, allocations: 0.5969 MB / 0.6469 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.9001, allocations: 4 kB / 0.6469 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.9013, allocations: 482.3 kB / 0.6474 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.9029, allocations: 325.8 kB / 0.6477 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.9057, allocations: 1.707 MB / 0.6493 GB, free: 9.492 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006493/0.9064, allocations: 0.9309 MB / 0.6503 GB, free: 8.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.9066, allocations: 67.42 kB / 0.6503 GB, free: 8.473 MB / 494.1 MB Notification: Performance of SimCode: time 1.853e-06/0.9066, allocations: 0 / 0.6503 GB, free: 8.473 MB / 494.1 MB Notification: Performance of Templates: time 0.02221/0.9288, allocations: 15.18 MB / 0.6651 GB, free: 9.371 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.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 OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.o] Error 1