Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001049/0.001049, allocations: 95.27 kB / 16.96 MB, free: 5.676 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.001147/0.001147, allocations: 181.8 kB / 17.84 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 223.2 MB / 241.8 MB, free: 324 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003001, allocations: 9.781 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.2845/0.4123, allocations: 27.86 MB / 379.7 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01973/0.432, allocations: 14.32 MB / 394 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003089/0.4351, allocations: 58.78 kB / 394.1 MB, free: 4.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002609/0.4378, allocations: 0.4949 MB / 394.6 MB, free: 4.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008342/0.4461, allocations: 2.16 MB / 396.8 MB, free: 2.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01218/0.4583, allocations: 2.918 MB / 399.7 MB, free: 1.254 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008973/0.4673, allocations: 5.037 MB / 404.7 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002977/0.4703, allocations: 0.9718 MB / 405.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004435/0.4748, allocations: 1.416 MB / 407.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003858/0.4787, allocations: 1.594 MB / 408.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008016/0.4795, allocations: 85.44 kB / 408.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007242/0.4868, allocations: 2.097 MB / 410.9 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001577/0.4884, allocations: 0.5296 MB / 411.4 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.4897, allocations: 313 kB / 411.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00724/0.497, allocations: 2.607 MB / 414.3 MB, free: 7.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.497, allocations: 7.938 kB / 414.3 MB, free: 7.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.789e-06/0.497, allocations: 0 / 414.3 MB, free: 7.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001293/0.4972, allocations: 0 / 414.3 MB, free: 7.406 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.007164/0.5043, allocations: 1.904 MB / 416.2 MB, free: 5.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.5044, allocations: 12.03 kB / 416.2 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.5056, allocations: 174.1 kB / 416.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.5083, allocations: 0.9685 MB / 417.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/0.5086, allocations: 175.1 kB / 417.6 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005765/0.5092, allocations: 99.91 kB / 417.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004293/0.5135, allocations: 1.749 MB / 419.4 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.5135, allocations: 0 / 419.4 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.5137, allocations: 43.97 kB / 419.4 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000173/0.5139, allocations: 117.9 kB / 419.6 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003097/0.517, allocations: 1.78 MB / 421.3 MB, free: 220 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.01343/0.5304, allocations: 6.735 MB / 428.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.5328, allocations: 1.239 MB / 429.3 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.5342, allocations: 0.765 MB / 430.1 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007709/0.5419, allocations: 4.287 MB / 434.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.861e-05/0.542, allocations: 47.56 kB / 434.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001047/0.5431, allocations: 206.7 kB / 434.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=97): time 7.785e-06/0.5431, allocations: 0 / 434.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=112): time 0.01922/0.5623, allocations: 5.72 MB / 440.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.5625, allocations: 141.5 kB / 440.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.5648, allocations: 1.25 MB / 441.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001894/0.565, allocations: 45.7 kB / 441.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005826/0.5656, allocations: 0.6207 MB / 442.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004756/0.5661, allocations: 386.4 kB / 442.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.5662, allocations: 28 kB / 442.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.5664, allocations: 361.9 kB / 443.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.5677, allocations: 0.6949 MB / 443.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.5693, allocations: 1.052 MB / 444.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.5707, allocations: 0.8105 MB / 445.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.5708, allocations: 0 / 445.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004252/0.575, allocations: 2.23 MB / 447.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003681/0.5754, allocations: 387 kB / 448.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.5754, allocations: 15.94 kB / 448.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006644/0.5821, allocations: 1.261 MB / 449.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.5836, allocations: 299.5 kB / 449.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/0.5862, allocations: 1.614 MB / 451.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.588, allocations: 87.8 kB / 451.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003432/0.5883, allocations: 67.97 kB / 451.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.5884, allocations: 4 kB / 451.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004233/0.5926, allocations: 2.023 MB / 453.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/0.5927, allocations: 8 kB / 453.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005792/0.5985, allocations: 1.119 MB / 454.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.5999, allocations: 307.5 kB / 455.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.6021, allocations: 1.454 MB / 456.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.6038, allocations: 91.8 kB / 456.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/0.6041, allocations: 67.97 kB / 456.7 MB, free: 11.59 MB / 366.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 (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 initialization (156): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 18} Notification: Performance of prepare postOptimizeDAE: time 0.001174/0.6053, allocations: 464.6 kB / 457.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005624/0.6059, allocations: 146.2 kB / 457.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004817/0.6107, allocations: 2.082 MB / 459.4 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.6107, allocations: 12 kB / 459.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.6107, allocations: 3.938 kB / 459.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.6108, allocations: 7.969 kB / 459.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006819/0.6176, allocations: 3.582 MB / 463 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.6176, allocations: 0 / 463 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009479/0.6186, allocations: 191.8 kB / 463.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003561/0.6222, allocations: 1.004 MB / 464.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.6223, allocations: 27.98 kB / 464.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/0.6247, allocations: 1.607 MB / 465.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6247, allocations: 3.953 kB / 465.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004936/0.6296, allocations: 2.899 MB / 468.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.6308, allocations: 411.1 kB / 469.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005297/0.6314, allocations: 20 kB / 469.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.6328, allocations: 87.78 kB / 469.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.6331, allocations: 105.1 kB / 469.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/0.6333, allocations: 51.97 kB / 469.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001638/0.6349, allocations: 0.8324 MB / 470.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6349, allocations: 4 kB / 470.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004249/0.6392, allocations: 1.16 MB / 471.4 MB, free: 12.77 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.002827/0.642, allocations: 0.8378 MB / 472.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006604/0.6486, allocations: 2.773 MB / 475 MB, free: 9.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.6487, allocations: 0 / 475 MB, free: 9.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.6506, allocations: 0.8596 MB / 475.8 MB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004031/0.6547, allocations: 0.6222 MB / 476.5 MB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007846/0.6625, allocations: 3.632 MB / 480.1 MB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.6639, allocations: 1.288 MB / 481.4 MB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006393/0.6645, allocations: 147.3 kB / 481.5 MB, free: 2.566 MB / 382.1 MB Notification: Performance of SimCode: time 2.204e-06/0.6645, allocations: 0 / 481.5 MB, free: 2.566 MB / 382.1 MB Notification: Performance of Templates: time 0.06171/0.7262, allocations: 35.51 MB / 0.5049 GB, free: 15.15 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanksCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Fluid.Examples.Tanks.ThreeTanksCalcHelperMain.o] Error 1