Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks") translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008681/0.0008681, allocations: 98.7 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.001212/0.001212, allocations: 177.2 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.95/1.95, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005927/0.0005928, allocations: 16 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1271, allocations: 47.58 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.03723/0.1644, allocations: 29.53 MB / 359.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0238/0.1883, allocations: 15.51 MB / 374.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002162/0.1905, allocations: 63.5 kB / 374.7 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.1921, allocations: 0.509 MB / 375.2 MB, free: 6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006533/0.1986, allocations: 2.163 MB / 377.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009891/0.2085, allocations: 3.168 MB / 380.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3199/0.5285, allocations: 6.139 MB / 386.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003136/0.5317, allocations: 1.018 MB / 387.7 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004994/0.5367, allocations: 1.316 MB / 389 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004842/0.5416, allocations: 1.663 MB / 390.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005727/0.5422, allocations: 86.12 kB / 390.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007218/0.5494, allocations: 2.354 MB / 393.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001426/0.5508, allocations: 0.5413 MB / 393.7 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002063/0.5529, allocations: 0.817 MB / 394.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006165/0.5591, allocations: 2.654 MB / 397.1 MB, free: 11.53 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5591, allocations: 0 / 397.1 MB, free: 11.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5591, allocations: 0 / 397.1 MB, free: 11.53 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.155e-05/0.5592, allocations: 0 / 397.1 MB, free: 11.53 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.006101/0.5653, allocations: 1.894 MB / 399 MB, free: 10.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.247e-05/0.5654, allocations: 9.688 kB / 399 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006331/0.566, allocations: 177.9 kB / 399.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.5677, allocations: 1.003 MB / 400.2 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.5678, allocations: 176 kB / 400.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.5681, allocations: 94.3 kB / 400.5 MB, free: 9.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/0.5712, allocations: 1.761 MB / 402.2 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/0.5713, allocations: 3.562 kB / 402.2 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.5714, allocations: 45.38 kB / 402.3 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002069/0.5717, allocations: 114 kB / 402.4 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003163/0.5748, allocations: 1.785 MB / 404.2 MB, free: 9.047 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.01102/0.5859, allocations: 6.733 MB / 410.9 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.588, allocations: 1.241 MB / 412.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.5894, allocations: 0.7638 MB / 412.9 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006212/0.5956, allocations: 4.296 MB / 417.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.5957, allocations: 42.62 kB / 417.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001007/0.5967, allocations: 210.4 kB / 417.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.998e-06/0.5967, allocations: 0 / 417.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=112): time 0.02048/0.6172, allocations: 5.754 MB / 423.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.6174, allocations: 145.5 kB / 423.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/0.62, allocations: 1.25 MB / 424.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.6202, allocations: 49.7 kB / 424.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006303/0.6208, allocations: 0.6152 MB / 425.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004543/0.6213, allocations: 388.8 kB / 425.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.6215, allocations: 124.2 kB / 425.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6217, allocations: 309.1 kB / 426.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.623, allocations: 0.7066 MB / 426.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.6247, allocations: 1.061 MB / 427.8 MB, free: 7.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002974/0.6277, allocations: 1.753 MB / 429.6 MB, free: 5.609 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.6277, allocations: 4 kB / 429.6 MB, free: 5.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004419/0.6321, allocations: 2.286 MB / 431.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004348/0.6326, allocations: 378.1 kB / 432.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.6326, allocations: 8 kB / 432.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007271/0.6399, allocations: 1.284 MB / 433.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.6412, allocations: 304.7 kB / 433.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.644, allocations: 1.605 MB / 435.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.6458, allocations: 83.8 kB / 435.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/0.646, allocations: 71.97 kB / 435.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.646, allocations: 7.938 kB / 435.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004257/0.6503, allocations: 2.038 MB / 437.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.016e-05/0.6504, allocations: 8 kB / 437.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006445/0.6568, allocations: 1.116 MB / 438.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.6582, allocations: 307.9 kB / 439.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/0.6607, allocations: 1.47 MB / 440.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.6625, allocations: 83.8 kB / 440.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002265/0.6627, allocations: 71.97 kB / 440.7 MB, free: 10.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (tank3.inFlow[1],tank3.regularFlow[1],tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 155 * 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 {(8,18)} Notification: Performance of prepare postOptimizeDAE: time 0.001207/0.6639, allocations: 467.8 kB / 441.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005313/0.6645, allocations: 147.1 kB / 441.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004762/0.6692, allocations: 2.092 MB / 443.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.6693, allocations: 16 kB / 443.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.6693, allocations: 0 / 443.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/0.6693, allocations: 3.984 kB / 443.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007024/0.6763, allocations: 3.587 MB / 447 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.6764, allocations: 0 / 447 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009834/0.6774, allocations: 194.4 kB / 447.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003944/0.6813, allocations: 0.9924 MB / 448.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.6815, allocations: 35.98 kB / 448.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.684, allocations: 1.61 MB / 449.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.684, allocations: 4 kB / 449.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005445/0.6895, allocations: 2.91 MB / 452.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.6908, allocations: 403.1 kB / 453.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005466/0.6913, allocations: 24 kB / 453.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.6929, allocations: 87.78 kB / 453.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/0.6932, allocations: 93.36 kB / 453.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002157/0.6934, allocations: 51.97 kB / 453.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001898/0.6953, allocations: 0.8557 MB / 454.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6953, allocations: 0 / 454.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005178/0.7005, allocations: 1.163 MB / 455.4 MB, free: 11.69 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 {(9,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00337/0.7039, allocations: 0.8398 MB / 456.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007277/0.7112, allocations: 2.824 MB / 459.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.7112, allocations: 4 kB / 459.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.7132, allocations: 0.8696 MB / 459.9 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004766/0.718, allocations: 0.6205 MB / 460.6 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008521/0.7265, allocations: 3.796 MB / 464.3 MB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.728, allocations: 1.284 MB / 465.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008191/0.7288, allocations: 149.3 kB / 465.8 MB, free: 1.426 MB / 366.1 MB Notification: Performance of SimCode: time 2.024e-06/0.7289, allocations: 0 / 465.8 MB, free: 1.426 MB / 366.1 MB Notification: Performance of Templates: time 0.06915/0.798, allocations: 35.56 MB / 0.4896 GB, free: 13.91 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.Tanks.ThreeTanksCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanksCalcHelperMain.o] Error 1