Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.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.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008661/0.0008663, allocations: 98.78 kB / 17.96 MB, free: 5.77 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.0008271/0.000827, allocations: 175.9 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 225 MB, free: 12.98 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.0004648/0.0004647, allocations: 8 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1188, allocations: 47.59 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.02409/0.1429, allocations: 20.62 MB / 350.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01317/0.1561, allocations: 7.223 MB / 357.5 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.1575, allocations: 31.75 kB / 357.5 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.1586, allocations: 310.3 kB / 357.8 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004098/0.1627, allocations: 1.034 MB / 358.8 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007222/0.1699, allocations: 1.563 MB / 360.4 MB, free: 4.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006006/0.176, allocations: 3.123 MB / 363.5 MB, free: 1.742 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.1776, allocations: 0.5069 MB / 364 MB, free: 1.219 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/0.1801, allocations: 0.7082 MB / 364.7 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00211/0.1822, allocations: 0.763 MB / 365.5 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.1824, allocations: 40 kB / 365.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004215/0.1867, allocations: 1.221 MB / 366.7 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004838/0.1872, allocations: 251.1 kB / 367 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008982/0.1881, allocations: 451.6 kB / 367.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.1904, allocations: 1.352 MB / 368.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1905, allocations: 0 / 368.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.62e-06/0.1905, allocations: 0 / 368.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.1905, allocations: 0 / 368.8 MB, free: 12.43 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003462/0.194, allocations: 1.118 MB / 369.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/0.194, allocations: 8.031 kB / 369.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005659/0.1946, allocations: 99.89 kB / 370 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.196, allocations: 0.5969 MB / 370.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.679e-05/0.1961, allocations: 49.3 kB / 370.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.1962, allocations: 56 kB / 370.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.198, allocations: 0.8867 MB / 371.6 MB, free: 9.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.1981, allocations: 0 / 371.6 MB, free: 9.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.844e-05/0.1982, allocations: 27.98 kB / 371.6 MB, free: 9.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.763e-05/0.1982, allocations: 41.3 kB / 371.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.1999, allocations: 0.8091 MB / 372.5 MB, free: 8.602 MB / 318.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.006275/0.2061, allocations: 3.842 MB / 376.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.2072, allocations: 0.5431 MB / 376.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004757/0.2077, allocations: 282 kB / 377.1 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000531/0.2082, allocations: 0.4956 MB / 377.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.2083, allocations: 43 kB / 377.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 2.565e-06/0.2083, allocations: 0 / 377.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=52): time 0.005286/0.2136, allocations: 2.132 MB / 379.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.2137, allocations: 137 kB / 379.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2656/0.4793, allocations: 0.7224 MB / 380.7 MB, free: 54.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002288/0.4796, allocations: 39.14 kB / 380.7 MB, free: 54.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/0.4799, allocations: 383.1 kB / 381.1 MB, free: 54.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.4801, allocations: 179.2 kB / 381.2 MB, free: 54.63 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.4803, allocations: 72.48 kB / 381.3 MB, free: 54.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4804, allocations: 384.7 kB / 381.7 MB, free: 54.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000635/0.4811, allocations: 302.6 kB / 382 MB, free: 54.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/0.4818, allocations: 0.5121 MB / 382.5 MB, free: 54.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.4832, allocations: 0.7729 MB / 383.3 MB, free: 53.85 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.4832, allocations: 2.062 kB / 383.3 MB, free: 53.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00197/0.4852, allocations: 1.001 MB / 384.3 MB, free: 53.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.4853, allocations: 260.2 kB / 384.5 MB, free: 53.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.4854, allocations: 10.41 kB / 384.5 MB, free: 53.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/0.4871, allocations: 304.7 kB / 384.8 MB, free: 53.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.4877, allocations: 145.4 kB / 385 MB, free: 53.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009517/0.4887, allocations: 1.309 MB / 386.3 MB, free: 52.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006415/0.4893, allocations: 57.31 kB / 386.3 MB, free: 52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/0.4894, allocations: 33.89 kB / 386.4 MB, free: 51.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.4895, allocations: 4.219 kB / 386.4 MB, free: 51.99 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001512/0.491, allocations: 0.8455 MB / 387.2 MB, free: 51.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.491, allocations: 6.953 kB / 387.2 MB, free: 51.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.4921, allocations: 189.9 kB / 387.4 MB, free: 51.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.4928, allocations: 167.6 kB / 387.6 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007248/0.4936, allocations: 1.192 MB / 388.8 MB, free: 50.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005748/0.4942, allocations: 46.95 kB / 388.8 MB, free: 50.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/0.4943, allocations: 37.98 kB / 388.9 MB, free: 50.49 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 6 (tank1.aboveLevel[2],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[1],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0004813/0.4947, allocations: 327.2 kB / 389.2 MB, free: 50.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.4949, allocations: 79.12 kB / 389.3 MB, free: 50.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.4973, allocations: 0.9748 MB / 390.2 MB, free: 49.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.4973, allocations: 7.406 kB / 390.2 MB, free: 49.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.4973, allocations: 4.5 kB / 390.2 MB, free: 49.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.4974, allocations: 4.109 kB / 390.2 MB, free: 49.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.5005, allocations: 1.764 MB / 392 MB, free: 48.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.5005, allocations: 1.156 kB / 392 MB, free: 48.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004402/0.501, allocations: 103.1 kB / 392.1 MB, free: 48.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.5022, allocations: 254.6 kB / 392.4 MB, free: 48.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.5022, allocations: 18.06 kB / 392.4 MB, free: 48.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008882/0.5031, allocations: 1.275 MB / 393.6 MB, free: 47.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5031, allocations: 0 / 393.6 MB, free: 47.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.5053, allocations: 1.307 MB / 395 MB, free: 47.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.5056, allocations: 174.8 kB / 395.1 MB, free: 46.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.5057, allocations: 19.41 kB / 395.1 MB, free: 46.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004913/0.5062, allocations: 46.12 kB / 395.2 MB, free: 46.92 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.5064, allocations: 54.97 kB / 395.2 MB, free: 46.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.365e-05/0.5065, allocations: 31.38 kB / 395.3 MB, free: 46.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008049/0.5073, allocations: 0.5119 MB / 395.8 MB, free: 46.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5073, allocations: 0 / 395.8 MB, free: 46.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001986/0.5093, allocations: 0.5965 MB / 396.4 MB, free: 46.64 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (tank1.level,tank1.medium.T) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[2],tank1.aboveLevel[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,7), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001226/0.5105, allocations: 0.495 MB / 396.9 MB, free: 46.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.5131, allocations: 1.216 MB / 398.1 MB, free: 46.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5131, allocations: 1.203 kB / 398.1 MB, free: 46.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005993/0.5137, allocations: 391.9 kB / 398.5 MB, free: 45.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.5157, allocations: 401.6 kB / 398.9 MB, free: 45.87 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.5182, allocations: 2.01 MB / 400.9 MB, free: 44.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.5186, allocations: 0.9837 MB / 401.9 MB, free: 43.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.5189, allocations: 88.47 kB / 401.9 MB, free: 43.69 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5189, allocations: 0 / 401.9 MB, free: 43.69 MB / 318.1 MB Notification: Performance of Templates: time 0.02627/0.5452, allocations: 22.92 MB / 424.9 MB, free: 21.5 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.makefile make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.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 OMCppModelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1CalcHelperMain.o] Error 1