Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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.TanksWithOverflow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|lowerTank.level|lowerTank.medium.h|upperTank.level|upperTank.medium.h|hysteresis.y",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") translateModel(Modelica.Fluid.Examples.Tanks.TanksWithOverflow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|lowerTank.level|lowerTank.medium.h|upperTank.level|upperTank.medium.h|hysteresis.y",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009139/0.000914, allocations: 93.61 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.001246/0.001246, allocations: 180.1 kB / 18.86 MB, free: 4.773 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.986/1.986, allocations: 205.4 MB / 225 MB, free: 13.06 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.0005036/0.0005038, allocations: 8 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1321, allocations: 47.59 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.TanksWithOverflow): time 0.03402/0.1662, allocations: 30.74 MB / 360.4 MB, free: 4.895 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01998/0.1862, allocations: 10.64 MB / 371 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.1884, allocations: 43.62 kB / 371 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.19, allocations: 417.7 kB / 371.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006282/0.1962, allocations: 1.739 MB / 373.2 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007647/0.2039, allocations: 2.311 MB / 375.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007611/0.2115, allocations: 5.191 MB / 380.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3064/0.518, allocations: 1.003 MB / 381.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.5227, allocations: 1.3 MB / 383 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004288/0.527, allocations: 1.389 MB / 384.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004103/0.5274, allocations: 79.66 kB / 384.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006619/0.534, allocations: 1.989 MB / 386.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.5352, allocations: 0.4978 MB / 386.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.5368, allocations: 0.7531 MB / 387.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006085/0.5429, allocations: 2.365 MB / 390.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.543, allocations: 0 / 390.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.543, allocations: 1.125 kB / 390.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.502e-05/0.543, allocations: 1.219 kB / 390.1 MB, free: 11.35 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: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.006573/0.5496, allocations: 1.776 MB / 391.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.966e-05/0.5497, allocations: 13.38 kB / 391.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007654/0.5505, allocations: 159.5 kB / 392 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.5523, allocations: 0.9013 MB / 392.9 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.5526, allocations: 234.5 kB / 393.1 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/0.5528, allocations: 99.05 kB / 393.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/0.5563, allocations: 1.798 MB / 395 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.5563, allocations: 3.922 kB / 395 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.5565, allocations: 46.7 kB / 395.1 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001902/0.5567, allocations: 104.2 kB / 395.2 MB, free: 9.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003651/0.5604, allocations: 1.776 MB / 397 MB, free: 9.633 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.01281/0.5732, allocations: 6.958 MB / 403.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.576, allocations: 1.493 MB / 405.4 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.5774, allocations: 0.8899 MB / 406.3 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007953/0.5782, allocations: 0.6598 MB / 407 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.5783, allocations: 44.81 kB / 407 MB, free: 6.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.717e-06/0.5783, allocations: 0 / 407 MB, free: 6.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=128): time 0.01727/0.5956, allocations: 6.683 MB / 413.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.993e-05/0.5957, allocations: 170.2 kB / 413.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.5974, allocations: 1.092 MB / 414.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/0.5976, allocations: 52.2 kB / 415 MB, free: 3.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.598, allocations: 0.4934 MB / 415.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/0.5984, allocations: 443.8 kB / 415.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.5986, allocations: 116 kB / 416 MB, free: 2.938 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.5987, allocations: 360.4 kB / 416.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.6, allocations: 0.8504 MB / 417.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.6014, allocations: 1.071 MB / 418.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/0.6039, allocations: 1.806 MB / 420.1 MB, free: 76 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6039, allocations: 9.312 kB / 420.1 MB, free: 68 kB / 318.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004787/0.6087, allocations: 2.611 MB / 422.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002387/0.6089, allocations: 233.9 kB / 423 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.609, allocations: 12 kB / 423 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003724/0.6127, allocations: 1.311 MB / 424.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.6138, allocations: 211.9 kB / 424.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007025/0.6208, allocations: 6.349 MB / 430.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.6228, allocations: 95.84 kB / 430.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.6229, allocations: 59.97 kB / 431 MB, free: 4.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.623, allocations: 4 kB / 431 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004496/0.6275, allocations: 2.35 MB / 433.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.6275, allocations: 7.984 kB / 433.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00267/0.6302, allocations: 1.023 MB / 434.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.6313, allocations: 232.4 kB / 434.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007277/0.6386, allocations: 6.115 MB / 440.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/0.641, allocations: 95.84 kB / 440.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000428/0.6414, allocations: 59.97 kB / 440.9 MB, free: 10.7 MB / 350.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: 12 (hysteresis.y,$PRE.hysteresis.y,lowerTank.inFlow[2],lowerTank.inFlow[1],lowerTank.regularFlow[2],lowerTank.regularFlow[1],upperTank.inFlow[3],upperTank.inFlow[2],upperTank.inFlow[1],upperTank.regularFlow[3],upperTank.regularFlow[2],upperTank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,11), (4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.001469/0.6429, allocations: 459.1 kB / 441.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006313/0.6435, allocations: 130.4 kB / 441.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006266/0.6498, allocations: 2.807 MB / 444.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.6499, allocations: 16 kB / 444.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.6499, allocations: 0 / 444.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.29e-05/0.6499, allocations: 7.969 kB / 444.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009224/0.6592, allocations: 4.534 MB / 448.8 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.6592, allocations: 4 kB / 448.8 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008346/0.66, allocations: 157.2 kB / 449 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003533/0.6636, allocations: 1.303 MB / 450.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/0.6638, allocations: 35.98 kB / 450.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007938/0.6717, allocations: 6.394 MB / 456.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6718, allocations: 0 / 456.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008972/0.6807, allocations: 3.951 MB / 460.7 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/0.6823, allocations: 450.9 kB / 461.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007189/0.6831, allocations: 28 kB / 461.1 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/0.6852, allocations: 91.86 kB / 461.2 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005671/0.6858, allocations: 141.1 kB / 461.3 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002242/0.686, allocations: 51.97 kB / 461.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.6881, allocations: 0.7493 MB / 462.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6881, allocations: 0 / 462.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.006437/0.6946, allocations: 1.054 MB / 463.2 MB, free: 3.973 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (upperTank.level,upperTank.medium.T,lowerTank.level,lowerTank.medium.T) * Number of discrete variables: 11 (upperTank.regularFlow[1],upperTank.regularFlow[2],upperTank.regularFlow[3],upperTank.inFlow[1],upperTank.inFlow[2],upperTank.inFlow[3],lowerTank.regularFlow[1],lowerTank.regularFlow[2],lowerTank.inFlow[1],lowerTank.inFlow[2],hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (4,14), (4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004503/0.6991, allocations: 0.7233 MB / 463.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01026/0.7094, allocations: 3.803 MB / 467.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.7094, allocations: 8.188 kB / 467.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003894/0.7133, allocations: 1.415 MB / 469.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/0.7176, allocations: 0.6089 MB / 469.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009068/0.7267, allocations: 3.76 MB / 473.5 MB, free: 9.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.7283, allocations: 1.264 MB / 474.8 MB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007127/0.7291, allocations: 138.4 kB / 474.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.7291, allocations: 0 / 474.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of Templates: time 0.08839/0.8175, allocations: 53.18 MB / 0.5157 GB, free: 3.043 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.makefile make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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.TanksWithOverflowCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflowCalcHelperMain.o] Error 1