Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.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.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009605/0.0009605, 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.001122/0.001122, allocations: 175.8 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 1.953/1.953, allocations: 205.4 MB / 225 MB, free: 13.08 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.0005773/0.0005773, allocations: 12 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1148, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks): time 0.02037/0.1352, allocations: 17.77 MB / 347.4 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.1454, allocations: 6.223 MB / 353.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009882/0.1465, allocations: 35.69 kB / 353.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009823/0.1475, allocations: 294.4 kB / 353.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003092/0.1506, allocations: 0.9762 MB / 354.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004453/0.155, allocations: 1.353 MB / 356.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004203/0.1593, allocations: 3.057 MB / 359.3 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009459/0.1602, allocations: 421.5 kB / 359.7 MB, free: 5.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.1614, allocations: 0.6187 MB / 360.3 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.1625, allocations: 0.7317 MB / 361.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.908e-05/0.1626, allocations: 35.94 kB / 361.1 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.1652, allocations: 1.088 MB / 362.2 MB, free: 3.047 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.1655, allocations: 235.2 kB / 362.4 MB, free: 2.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004752/0.166, allocations: 395.8 kB / 362.8 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.1678, allocations: 1.208 MB / 364 MB, free: 1.211 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1678, allocations: 0 / 364 MB, free: 1.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1678, allocations: 0 / 364 MB, free: 1.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.1678, allocations: 0 / 364 MB, free: 1.211 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00251/0.1703, allocations: 1.032 MB / 365.1 MB, free: 132 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.1704, allocations: 12.03 kB / 365.1 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.1707, allocations: 84.08 kB / 365.1 MB, free: 36 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.1718, allocations: 0.5516 MB / 365.7 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.1718, allocations: 40.97 kB / 365.7 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.65e-05/0.1719, allocations: 55.94 kB / 365.8 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.1731, allocations: 0.7295 MB / 366.5 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.1731, allocations: 11.88 kB / 366.5 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/0.1732, allocations: 19.98 kB / 366.6 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.849e-05/0.1733, allocations: 48.97 kB / 366.6 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.1744, allocations: 0.6909 MB / 367.3 MB, free: 13.82 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.004546/0.179, allocations: 3.05 MB / 370.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007633/0.1798, allocations: 488.5 kB / 370.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/0.1801, allocations: 262 kB / 371.1 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003084/0.1805, allocations: 353.3 kB / 371.4 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1805, allocations: 39 kB / 371.5 MB, free: 9.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.244e-06/0.1805, allocations: 0 / 371.5 MB, free: 9.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=58): time 0.0052/0.1857, allocations: 2.331 MB / 373.8 MB, free: 6.938 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.1858, allocations: 81.67 kB / 373.9 MB, free: 6.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007523/0.1866, allocations: 0.6172 MB / 374.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/0.1867, allocations: 45.7 kB / 374.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.1869, allocations: 328.3 kB / 374.9 MB, free: 5.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.1871, allocations: 201.1 kB / 375 MB, free: 5.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.791e-05/0.1872, allocations: 65.69 kB / 375.1 MB, free: 5.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002673/0.1875, allocations: 386.8 kB / 375.5 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.188, allocations: 301.8 kB / 375.8 MB, free: 4.891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.1886, allocations: 481.3 kB / 376.3 MB, free: 4.348 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.1896, allocations: 0.7406 MB / 377 MB, free: 3.539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1897, allocations: 7.938 kB / 377 MB, free: 3.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001488/0.1911, allocations: 0.9659 MB / 378 MB, free: 2.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.1913, allocations: 232.8 kB / 378.2 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1913, allocations: 4 kB / 378.2 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/0.1939, allocations: 428.3 kB / 378.6 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/0.1945, allocations: 155.7 kB / 378.8 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008876/0.1954, allocations: 0.8176 MB / 379.6 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/0.1959, allocations: 48.03 kB / 379.6 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.1959, allocations: 43.97 kB / 379.7 MB, free: 0.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.196, allocations: 4 kB / 379.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2448/0.4408, allocations: 0.8138 MB / 380.5 MB, free: 53.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.4408, allocations: 5.5 kB / 380.5 MB, free: 53.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002193/0.443, allocations: 286.7 kB / 380.8 MB, free: 53.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007995/0.4439, allocations: 159 kB / 380.9 MB, free: 53.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007794/0.4447, allocations: 0.7132 MB / 381.6 MB, free: 53.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/0.4454, allocations: 46.91 kB / 381.7 MB, free: 53.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.27e-05/0.4455, allocations: 32.2 kB / 381.7 MB, free: 53.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 6 (tank2.aboveLevel[1],$PRE.tank2.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[1],tank2.ports_m_flow_out[1],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 (84): * 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: 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005429/0.4461, allocations: 321.9 kB / 382 MB, free: 53.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.4462, allocations: 69.44 kB / 382.1 MB, free: 53.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.4481, allocations: 0.8691 MB / 383 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.4482, allocations: 6.594 kB / 383 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.4482, allocations: 0.5 kB / 383 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.4482, allocations: 7.703 kB / 383 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.4516, allocations: 1.723 MB / 384.7 MB, free: 52.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4516, allocations: 4.594 kB / 384.7 MB, free: 52.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/0.4522, allocations: 110.3 kB / 384.8 MB, free: 52.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/0.454, allocations: 355.8 kB / 385.2 MB, free: 52.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.4541, allocations: 15.31 kB / 385.2 MB, free: 52.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008737/0.455, allocations: 0.8145 MB / 386 MB, free: 52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.455, allocations: 0 / 386 MB, free: 52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.4574, allocations: 1.293 MB / 387.3 MB, free: 51.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.4577, allocations: 151.8 kB / 387.4 MB, free: 51.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.4578, allocations: 14.36 kB / 387.5 MB, free: 51.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.4583, allocations: 41.14 kB / 387.5 MB, free: 51.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.4585, allocations: 48 kB / 387.5 MB, free: 51.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.138e-05/0.4586, allocations: 34.88 kB / 387.6 MB, free: 51.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007702/0.4593, allocations: 442.8 kB / 388 MB, free: 51.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4593, allocations: 0 / 388 MB, free: 51.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002543/0.4619, allocations: 0.5285 MB / 388.5 MB, free: 51.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank2.aboveLevel[1]) * Number of discrete states: 2 (tank2.aboveLevel[1],tank1.aboveLevel[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/0.4634, allocations: 444.9 kB / 389 MB, free: 50.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002884/0.4663, allocations: 1.178 MB / 390.2 MB, free: 50.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.4664, allocations: 3 kB / 390.2 MB, free: 50.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007806/0.4671, allocations: 389.5 kB / 390.5 MB, free: 50.47 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.4691, allocations: 341.3 kB / 390.9 MB, free: 50.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.4723, allocations: 1.996 MB / 392.9 MB, free: 49.29 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.4729, allocations: 0.9653 MB / 393.8 MB, free: 48.56 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.4731, allocations: 73.05 kB / 393.9 MB, free: 48.55 MB / 318.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4731, allocations: 0 / 393.9 MB, free: 48.55 MB / 318.1 MB Notification: Performance of Templates: time 0.02409/0.4972, allocations: 17.4 MB / 411.3 MB, free: 34.78 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.makefile make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.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.TwoTanksCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanksCalcHelperMain.o] Error 1