Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.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.00177/0.00177, allocations: 105.6 kB / 16.52 MB, free: 6.727 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.001529/0.001528, allocations: 187.7 kB / 17.44 MB, free: 6.059 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.858/1.858, allocations: 205.1 MB / 223.3 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2448/0.2448, allocations: 43.5 MB / 314.1 MB, free: 0.7383 MB / 254.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.001496/0.001496, allocations: 68.44 kB / 382.7 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.145, allocations: 57.79 MB / 440.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06031/0.2054, allocations: 46.36 MB / 486.8 MB, free: 8.996 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007843/0.2132, allocations: 4.534 MB / 491.4 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.2144, allocations: 23.81 kB / 491.4 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.2157, allocations: 278.5 kB / 491.7 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.2183, allocations: 0.8009 MB / 492.5 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.221, allocations: 0.7987 MB / 493.3 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003276/0.2243, allocations: 2.659 MB / 495.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007197/0.225, allocations: 405 kB / 496.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1183/0.3433, allocations: 43.31 MB / 0.527 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3641/0.7074, allocations: 7.961 MB / 0.5348 GB, free: 46.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002981/0.7078, allocations: 34.47 kB / 0.5348 GB, free: 46.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02877/0.7365, allocations: 10.63 MB / 0.5452 GB, free: 42.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007319/0.7373, allocations: 234.7 kB / 0.5454 GB, free: 42.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008485/0.7382, allocations: 371.7 kB / 0.5458 GB, free: 42.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.7396, allocations: 0.7952 MB / 0.5465 GB, free: 42.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.7396, allocations: 0 / 0.5465 GB, free: 42.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.7396, allocations: 0 / 0.5465 GB, free: 42.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.7396, allocations: 0 / 0.5465 GB, free: 42.92 MB / 414.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.003105/0.7428, allocations: 1.056 MB / 0.5476 GB, free: 42.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.115e-05/0.7428, allocations: 9.625 kB / 0.5476 GB, free: 42.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005241/0.7434, allocations: 91.12 kB / 0.5477 GB, free: 42.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.7444, allocations: 0.5006 MB / 0.5481 GB, free: 42.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.7445, allocations: 98.62 kB / 0.5482 GB, free: 42.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.7447, allocations: 50.92 kB / 0.5483 GB, free: 42.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.7462, allocations: 0.8325 MB / 0.5491 GB, free: 41.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.7462, allocations: 2.281 kB / 0.5491 GB, free: 41.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-05/0.7463, allocations: 25.56 kB / 0.5491 GB, free: 41.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.7464, allocations: 38.97 kB / 0.5492 GB, free: 41.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.7478, allocations: 0.6445 MB / 0.5498 GB, free: 41.84 MB / 414.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.004862/0.7527, allocations: 4.22 MB / 0.5539 GB, free: 39.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008481/0.7535, allocations: 422.7 kB / 0.5543 GB, free: 39.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.7539, allocations: 206 kB / 0.5545 GB, free: 39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005103/0.7544, allocations: 0.5012 MB / 0.555 GB, free: 38.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.7545, allocations: 38.33 kB / 0.555 GB, free: 38.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.605e-06/0.7545, allocations: 0 / 0.555 GB, free: 38.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003605/0.7581, allocations: 1.525 MB / 0.5565 GB, free: 37.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.7582, allocations: 138.5 kB / 0.5567 GB, free: 37.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007535/0.7589, allocations: 0.5734 MB / 0.5572 GB, free: 37.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.759, allocations: 33.27 kB / 0.5573 GB, free: 37.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.7592, allocations: 357.4 kB / 0.5576 GB, free: 37.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.7594, allocations: 162.7 kB / 0.5578 GB, free: 37.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.7596, allocations: 141.4 kB / 0.5579 GB, free: 37.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7597, allocations: 375.9 kB / 0.5582 GB, free: 37.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.7601, allocations: 232.4 kB / 0.5585 GB, free: 37.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006543/0.7608, allocations: 0.5148 MB / 0.559 GB, free: 36.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.7618, allocations: 0.7753 MB / 0.5597 GB, free: 36.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.7618, allocations: 0 / 0.5597 GB, free: 36.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00181/0.7637, allocations: 0.942 MB / 0.5606 GB, free: 36.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.7637, allocations: 8.25 kB / 0.5607 GB, free: 36.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/0.7637, allocations: 11.98 kB / 0.5607 GB, free: 36.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.7649, allocations: 270.2 kB / 0.5609 GB, free: 36.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.7654, allocations: 125.3 kB / 0.561 GB, free: 36.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008659/0.7662, allocations: 0.8646 MB / 0.5619 GB, free: 35.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.7669, allocations: 47.98 kB / 0.5619 GB, free: 35.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/0.767, allocations: 35.78 kB / 0.562 GB, free: 35.68 MB / 414.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003253/0.7673, allocations: 247.9 kB / 0.5622 GB, free: 35.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.7674, allocations: 70.73 kB / 0.5623 GB, free: 35.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.7688, allocations: 0.7134 MB / 0.563 GB, free: 35.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.7688, allocations: 10.34 kB / 0.563 GB, free: 35.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.7688, allocations: 3.844 kB / 0.563 GB, free: 35.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.7688, allocations: 1.688 kB / 0.563 GB, free: 35.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.7711, allocations: 1.407 MB / 0.5644 GB, free: 35.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7711, allocations: 3.938 kB / 0.5644 GB, free: 35.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009802/0.7721, allocations: 193.6 kB / 0.5645 GB, free: 35.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002452/0.7724, allocations: 63.41 kB / 0.5646 GB, free: 35.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.7724, allocations: 18.88 kB / 0.5646 GB, free: 35.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.7743, allocations: 2.78 MB / 0.5673 GB, free: 32.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.7743, allocations: 5.906 kB / 0.5673 GB, free: 32.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.7758, allocations: 0.9977 MB / 0.5683 GB, free: 32.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.776, allocations: 202.1 kB / 0.5685 GB, free: 32.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.43e-05/0.7761, allocations: 13.41 kB / 0.5685 GB, free: 32.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.7765, allocations: 29.92 kB / 0.5686 GB, free: 32.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.7767, allocations: 39.02 kB / 0.5686 GB, free: 32.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.7767, allocations: 21.97 kB / 0.5686 GB, free: 32.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004567/0.7772, allocations: 420.6 kB / 0.569 GB, free: 31.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7772, allocations: 0 / 0.569 GB, free: 31.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009085/0.7781, allocations: 209.2 kB / 0.5692 GB, free: 31.95 MB / 414.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0006477/0.7787, allocations: 232.9 kB / 0.5694 GB, free: 31.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.78, allocations: 0.6021 MB / 0.57 GB, free: 31.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.78, allocations: 0 / 0.57 GB, free: 31.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.7811, allocations: 475.9 kB / 0.5705 GB, free: 31.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.7828, allocations: 356.6 kB / 0.5708 GB, free: 31.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.7852, allocations: 1.679 MB / 0.5725 GB, free: 30.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.7857, allocations: 0.9324 MB / 0.5734 GB, free: 29.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.7859, allocations: 71.2 kB / 0.5734 GB, free: 29.85 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.7859, allocations: 0 / 0.5734 GB, free: 29.85 MB / 414.1 MB Notification: Performance of Templates: time 0.02076/0.8066, allocations: 15.52 MB / 0.5886 GB, free: 16.38 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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 OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.o] Error 1