Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.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.TankWithEmptyingPipe2,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.TankWithEmptyingPipe2") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,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.TankWithEmptyingPipe2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001111, allocations: 91.06 kB / 17.96 MB, free: 5.629 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.001701/0.001701, allocations: 176.3 kB / 18.86 MB, free: 4.766 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.928/1.928, allocations: 205.4 MB / 225 MB, free: 12.97 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.0005194/0.0005194, allocations: 12 kB / 282 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1412, allocations: 47.58 MB / 329.6 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.03142/0.1727, allocations: 21.93 MB / 351.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0169/0.1896, allocations: 10.27 MB / 361.8 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.191, allocations: 35.69 kB / 361.8 MB, free: 3.387 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.1922, allocations: 350 kB / 362.2 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.196, allocations: 1.33 MB / 363.5 MB, free: 1.707 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006299/0.2024, allocations: 2.206 MB / 365.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005156/0.2075, allocations: 3.813 MB / 369.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.2086, allocations: 0.5653 MB / 370.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.2105, allocations: 0.8367 MB / 370.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.2119, allocations: 0.9693 MB / 371.9 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.212, allocations: 44 kB / 371.9 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/0.2161, allocations: 1.681 MB / 373.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003883/0.2165, allocations: 315 kB / 373.9 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006322/0.2172, allocations: 0.5109 MB / 374.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00283/0.22, allocations: 1.762 MB / 376.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.22, allocations: 0 / 376.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.22, allocations: 0 / 376.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.22, allocations: 0 / 376.2 MB, free: 4.961 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.003055/0.2231, allocations: 1.312 MB / 377.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.2232, allocations: 8.031 kB / 377.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003701/0.2235, allocations: 114.8 kB / 377.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.2246, allocations: 0.6825 MB / 378.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/0.2247, allocations: 45.3 kB / 378.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.2248, allocations: 63.89 kB / 378.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.2266, allocations: 1.068 MB / 379.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.2266, allocations: 7.938 kB / 379.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-05/0.2267, allocations: 27.98 kB / 379.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.71e-05/0.2268, allocations: 65.27 kB / 379.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.2287, allocations: 1.028 MB / 380.6 MB, free: 404 kB / 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.2829/0.5116, allocations: 4.436 MB / 385.1 MB, free: 19.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.5129, allocations: 0.5743 MB / 385.6 MB, free: 19.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006363/0.5135, allocations: 319.2 kB / 385.9 MB, free: 19.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002697/0.5162, allocations: 1.981 MB / 387.9 MB, free: 18.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.5163, allocations: 43.94 kB / 388 MB, free: 18.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.014e-06/0.5163, allocations: 0 / 388 MB, free: 18.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.005037/0.5213, allocations: 1.961 MB / 389.9 MB, free: 17.74 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/0.5214, allocations: 160.2 kB / 390.1 MB, free: 17.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.523, allocations: 0.9312 MB / 391 MB, free: 17.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/0.5231, allocations: 39.03 kB / 391.1 MB, free: 17.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004968/0.5236, allocations: 487.9 kB / 391.5 MB, free: 17.13 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.5237, allocations: 165.6 kB / 391.7 MB, free: 17.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.5239, allocations: 77.02 kB / 391.8 MB, free: 17.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.524, allocations: 339.8 kB / 392.1 MB, free: 16.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.5246, allocations: 328.3 kB / 392.4 MB, free: 16.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008202/0.5254, allocations: 0.6312 MB / 393.1 MB, free: 16.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.5267, allocations: 0.8886 MB / 393.9 MB, free: 16.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.5267, allocations: 2.594 kB / 393.9 MB, free: 16.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001941/0.5286, allocations: 1.116 MB / 395.1 MB, free: 15.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000193/0.5288, allocations: 352.6 kB / 395.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.5289, allocations: 12.28 kB / 395.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002693/0.5316, allocations: 398.5 kB / 395.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.5323, allocations: 178.8 kB / 396 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009712/0.5333, allocations: 1.345 MB / 397.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008845/0.5341, allocations: 53.45 kB / 397.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.5343, allocations: 49.92 kB / 397.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.5343, allocations: 3.312 kB / 397.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001718/0.536, allocations: 0.974 MB / 398.4 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.536, allocations: 8.094 kB / 398.4 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/0.5383, allocations: 364.2 kB / 398.8 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.5389, allocations: 186.4 kB / 398.9 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000906/0.5398, allocations: 1.31 MB / 400.3 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007255/0.5406, allocations: 53.89 kB / 400.3 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.094e-05/0.5407, allocations: 43.41 kB / 400.4 MB, free: 13.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (104): * Single equations (assignments): 102 * 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,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005638/0.5412, allocations: 364.1 kB / 400.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.5414, allocations: 96.19 kB / 400.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.5431, allocations: 0.7937 MB / 401.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.5431, allocations: 9.203 kB / 401.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5431, allocations: 4 kB / 401.6 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.5431, allocations: 3.422 kB / 401.6 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.5456, allocations: 1.589 MB / 403.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5456, allocations: 4.062 kB / 403.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.5459, allocations: 82.73 kB / 403.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.5473, allocations: 298.9 kB / 403.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.5473, allocations: 16.3 kB / 403.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000905/0.5482, allocations: 1.299 MB / 404.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.5483, allocations: 3.938 kB / 404.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.5497, allocations: 1.082 MB / 406 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.55, allocations: 193.4 kB / 406.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.5501, allocations: 11.72 kB / 406.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/0.5506, allocations: 41.36 kB / 406.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.5507, allocations: 54.31 kB / 406.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.5508, allocations: 31.17 kB / 406.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007988/0.5516, allocations: 0.646 MB / 407 MB, free: 11.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5516, allocations: 3.188 kB / 407 MB, free: 11.01 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002099/0.5537, allocations: 0.7548 MB / 407.7 MB, free: 10.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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[1],tank1.aboveLevel[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * 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,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001298/0.555, allocations: 0.6083 MB / 408.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.5574, allocations: 1.276 MB / 409.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5574, allocations: 0 / 409.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005303/0.5579, allocations: 318.5 kB / 409.9 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.5598, allocations: 387.7 kB / 410.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.5628, allocations: 2.135 MB / 412.4 MB, free: 9.762 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/0.5633, allocations: 1.042 MB / 413.5 MB, free: 9.016 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.5636, allocations: 81.45 kB / 413.5 MB, free: 9.004 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5636, allocations: 0 / 413.5 MB, free: 9.004 MB / 318.1 MB Notification: Performance of Templates: time 0.03521/0.5988, allocations: 26.12 MB / 439.7 MB, free: 0.7031 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.makefile make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.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.TankWithEmptyingPipe2CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2CalcHelperMain.o] Error 1