Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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.TanksWithOverflow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|lowerTank.level|lowerTank.medium.h|upperTank.level|upperTank.medium.h|hysteresis.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001134, allocations: 92.34 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002285/0.0002285, allocations: 8 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.119, allocations: 51.48 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.TanksWithOverflow): time 0.3071/0.4262, allocations: 28.88 MB / 387.7 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.4433, allocations: 9.865 MB / 397.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002079/0.4455, allocations: 44 kB / 397.6 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.4471, allocations: 391.9 kB / 398 MB, free: 15.52 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006048/0.4532, allocations: 1.705 MB / 399.7 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008417/0.4616, allocations: 2.126 MB / 401.8 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009465/0.4711, allocations: 4.319 MB / 406.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002753/0.4739, allocations: 0.9554 MB / 407.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00618/0.4801, allocations: 1.329 MB / 408.4 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00447/0.4846, allocations: 1.36 MB / 409.8 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008959/0.4855, allocations: 78.91 kB / 409.8 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007129/0.4927, allocations: 1.755 MB / 411.6 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001546/0.4942, allocations: 495.2 kB / 412.1 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.4957, allocations: 289.7 kB / 412.4 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0069/0.5026, allocations: 2.309 MB / 414.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.5026, allocations: 0 / 414.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.5026, allocations: 0 / 414.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001194/0.5028, allocations: 0 / 414.7 MB, free: 5.07 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.00733/0.5101, allocations: 1.788 MB / 416.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.5102, allocations: 8.031 kB / 416.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.5112, allocations: 166.2 kB / 416.6 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.5135, allocations: 0.8751 MB / 417.5 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.5138, allocations: 238.5 kB / 417.7 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004717/0.5143, allocations: 103.9 kB / 417.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00413/0.5185, allocations: 1.779 MB / 419.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.5185, allocations: 7.938 kB / 419.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/0.5187, allocations: 43.89 kB / 419.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/0.5189, allocations: 102 kB / 419.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003587/0.5225, allocations: 1.768 MB / 421.5 MB, free: 14.01 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.01291/0.5354, allocations: 6.953 MB / 428.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.5382, allocations: 1.505 MB / 430 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.5397, allocations: 0.886 MB / 430.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009215/0.5406, allocations: 0.6568 MB / 431.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.5407, allocations: 47.56 kB / 431.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=116): time 3.386e-06/0.5407, allocations: 4 kB / 431.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=128): time 0.0166/0.5573, allocations: 6.711 MB / 438.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.5574, allocations: 167.5 kB / 438.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.5592, allocations: 1.088 MB / 439.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.5593, allocations: 49.7 kB / 439.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.5598, allocations: 0.5042 MB / 440.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004758/0.5603, allocations: 433.9 kB / 440.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.5604, allocations: 24 kB / 440.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.5606, allocations: 361.9 kB / 440.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.5621, allocations: 0.8237 MB / 441.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.5638, allocations: 1.061 MB / 442.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.5654, allocations: 0.8808 MB / 443.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.5654, allocations: 0 / 443.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004975/0.5704, allocations: 2.596 MB / 446.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002268/0.5706, allocations: 227.6 kB / 446.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.5706, allocations: 4 kB / 446.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003496/0.5741, allocations: 1.29 MB / 447.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009972/0.5751, allocations: 219.7 kB / 448 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00768/0.5828, allocations: 6.351 MB / 454.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.5844, allocations: 99.78 kB / 454.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.5846, allocations: 59.97 kB / 454.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.5846, allocations: 4 kB / 454.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004185/0.5888, allocations: 2.338 MB / 456.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.5888, allocations: 4.375 kB / 456.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/0.5912, allocations: 1.031 MB / 457.9 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009661/0.5922, allocations: 219.7 kB / 458.1 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006179/0.5984, allocations: 6.111 MB / 464.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.5998, allocations: 91.84 kB / 464.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.6, allocations: 55.98 kB / 464.3 MB, free: 1.641 MB / 366.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 (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],$PRE.hysteresis.y,hysteresis.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {2 3,4 11,4 11} Notification: Performance of prepare postOptimizeDAE: time 0.000954/0.6009, allocations: 459.1 kB / 464.8 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.6012, allocations: 134.4 kB / 464.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005281/0.6065, allocations: 2.803 MB / 467.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.6065, allocations: 16 kB / 467.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.6066, allocations: 0 / 467.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.6066, allocations: 11.97 kB / 467.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007445/0.614, allocations: 4.514 MB / 472.3 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.6141, allocations: 4 kB / 472.3 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008022/0.6149, allocations: 159.7 kB / 472.4 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003304/0.6182, allocations: 1.294 MB / 473.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.6183, allocations: 43.97 kB / 473.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007261/0.6256, allocations: 6.379 MB / 480.1 MB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6256, allocations: 192 / 480.1 MB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007317/0.633, allocations: 3.932 MB / 484.1 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.6342, allocations: 443.1 kB / 484.5 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/0.6344, allocations: 31.98 kB / 484.5 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.6355, allocations: 103.7 kB / 484.6 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/0.6359, allocations: 149.1 kB / 484.8 MB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.636, allocations: 47.97 kB / 484.8 MB, free: 12.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0012/0.6372, allocations: 0.7454 MB / 485.6 MB, free: 11.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.305e-06/0.6372, allocations: 0 / 485.6 MB, free: 11.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004351/0.6416, allocations: 1.058 MB / 486.6 MB, free: 10.82 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {2 4,4 14,4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002119/0.6437, allocations: 0.7313 MB / 487.4 MB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007571/0.6513, allocations: 3.771 MB / 491.1 MB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.6513, allocations: 0 / 491.1 MB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00327/0.6546, allocations: 1.426 MB / 492.6 MB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003075/0.6577, allocations: 0.5979 MB / 493.2 MB, free: 4.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00695/0.6647, allocations: 3.618 MB / 496.8 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.6657, allocations: 1.253 MB / 498 MB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006632/0.6664, allocations: 147.3 kB / 498.2 MB, free: 15.15 MB / 414.1 MB Notification: Performance of SimCode: time 2.245e-06/0.6664, allocations: 0 / 498.2 MB, free: 15.15 MB / 414.1 MB Notification: Performance of Templates: time 0.3058/0.9723, allocations: 53.39 MB / 0.5386 GB, free: 150.4 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.makefile make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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.TanksWithOverflowCalcHelperMain.o OMCppModelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflowCalcHelperMain.o] Error 1