Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001041, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 196.6 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.617/1.617, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002325/0.0002328, allocations: 8 kB / 307.3 MB, free: 1.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1104, allocations: 51.49 MB / 358.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.3033/0.4137, allocations: 27.95 MB / 386.7 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02306/0.4369, allocations: 14.31 MB / 401 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/0.4397, allocations: 59.06 kB / 401.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.4415, allocations: 0.5013 MB / 401.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007599/0.4492, allocations: 2.165 MB / 403.8 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01117/0.4603, allocations: 2.9 MB / 406.7 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009708/0.4701, allocations: 5.057 MB / 411.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/0.4729, allocations: 0.9946 MB / 412.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004757/0.4777, allocations: 1.412 MB / 414.1 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004281/0.482, allocations: 1.61 MB / 415.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000436/0.4824, allocations: 88 kB / 415.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006749/0.4892, allocations: 2.106 MB / 417.9 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.4904, allocations: 0.5375 MB / 418.5 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009375/0.4913, allocations: 309 kB / 418.8 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005588/0.4969, allocations: 2.607 MB / 421.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4969, allocations: 0 / 421.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.619e-06/0.4969, allocations: 0 / 421.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.436e-05/0.497, allocations: 7.938 kB / 421.4 MB, free: 14.06 MB / 334.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.005161/0.5022, allocations: 1.912 MB / 423.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.5022, allocations: 8.031 kB / 423.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006681/0.5029, allocations: 178 kB / 423.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.5048, allocations: 0.9684 MB / 424.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.505, allocations: 175.1 kB / 424.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.5051, allocations: 99.97 kB / 424.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/0.5081, allocations: 1.749 MB / 426.5 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.5081, allocations: 0 / 426.5 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.5083, allocations: 51.92 kB / 426.5 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/0.5085, allocations: 109.9 kB / 426.6 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.5113, allocations: 1.772 MB / 428.4 MB, free: 6.871 MB / 334.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.01263/0.524, allocations: 6.739 MB / 435.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.5261, allocations: 1.234 MB / 436.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.5274, allocations: 0.7612 MB / 437.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007723/0.5352, allocations: 4.287 MB / 441.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.101e-05/0.5353, allocations: 55.5 kB / 441.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001124/0.5364, allocations: 206.6 kB / 441.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 8.957e-06/0.5364, allocations: 0 / 441.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=112): time 0.01969/0.5561, allocations: 5.722 MB / 447.4 MB, free: 3.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/0.5564, allocations: 141.5 kB / 447.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/0.5596, allocations: 1.249 MB / 448.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002846/0.5599, allocations: 49.7 kB / 448.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007064/0.5606, allocations: 0.6051 MB / 449.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006237/0.5613, allocations: 390.4 kB / 449.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.5614, allocations: 28 kB / 449.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002976/0.5617, allocations: 365.9 kB / 450.2 MB, free: 168 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.5633, allocations: 0.695 MB / 450.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/0.5652, allocations: 1.048 MB / 451.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.5667, allocations: 0.8105 MB / 452.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.5667, allocations: 7.938 kB / 452.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004344/0.5711, allocations: 2.234 MB / 455 MB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003282/0.5714, allocations: 379.3 kB / 455.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.5715, allocations: 11.94 kB / 455.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006532/0.578, allocations: 1.27 MB / 456.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.5794, allocations: 300 kB / 456.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.582, allocations: 1.61 MB / 458.6 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.5836, allocations: 87.8 kB / 458.6 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.5839, allocations: 71.91 kB / 458.7 MB, free: 7.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.5839, allocations: 4 kB / 458.7 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003983/0.5879, allocations: 2.027 MB / 460.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/0.588, allocations: 8 kB / 460.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005741/0.5937, allocations: 1.113 MB / 461.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.595, allocations: 307.5 kB / 462.2 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.5972, allocations: 1.461 MB / 463.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.5988, allocations: 83.8 kB / 463.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/0.599, allocations: 75.91 kB / 463.8 MB, free: 2.238 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.001029/0.6, allocations: 453.5 kB / 464.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004372/0.6005, allocations: 150.2 kB / 464.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004472/0.605, allocations: 2.088 MB / 466.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.605, allocations: 12 kB / 466.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.605, allocations: 3.984 kB / 466.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.605, allocations: 7.984 kB / 466.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00694/0.612, allocations: 3.586 MB / 470.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.612, allocations: 3.984 kB / 470.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009197/0.6129, allocations: 187.8 kB / 470.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003618/0.6166, allocations: 0.9924 MB / 471.2 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/0.6167, allocations: 31.98 kB / 471.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.6192, allocations: 1.603 MB / 472.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6192, allocations: 0 / 472.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005011/0.6242, allocations: 2.907 MB / 475.8 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.6254, allocations: 403.1 kB / 476.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006164/0.626, allocations: 27.98 kB / 476.2 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.6274, allocations: 87.92 kB / 476.3 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/0.6276, allocations: 101.2 kB / 476.4 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.6278, allocations: 51.97 kB / 476.4 MB, free: 5.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001624/0.6294, allocations: 0.8362 MB / 477.3 MB, free: 4.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6294, allocations: 0 / 477.3 MB, free: 4.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004638/0.6341, allocations: 1.167 MB / 478.4 MB, free: 3.418 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.002859/0.637, allocations: 0.8302 MB / 479.3 MB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006624/0.6436, allocations: 2.772 MB / 482.1 MB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.6436, allocations: 2 kB / 482.1 MB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.6456, allocations: 0.8712 MB / 482.9 MB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003781/0.6494, allocations: 0.6224 MB / 483.5 MB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007199/0.6566, allocations: 3.628 MB / 487.2 MB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.6579, allocations: 1.284 MB / 488.5 MB, free: 9.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007308/0.6587, allocations: 147.4 kB / 488.6 MB, free: 9.211 MB / 398.1 MB Notification: Performance of SimCode: time 1.352e-06/0.6587, allocations: 3.938 kB / 488.6 MB, free: 9.207 MB / 398.1 MB Notification: Performance of Templates: time 0.06607/0.7248, allocations: 35.78 MB / 0.5121 GB, free: 5.5 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanksCalcHelperMain.o OMCppModelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanksCalcHelperMain.o] Error 1