Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks") translateModel(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007793/0.0007792, 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.0008404/0.0008405, allocations: 192.7 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.628/1.628, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002386/0.0002386, allocations: 8 kB / 307.3 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 51.49 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.2549/0.3716, allocations: 15.31 MB / 374.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01832/0.39, allocations: 6.619 MB / 380.7 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.3916, allocations: 30.09 kB / 380.7 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.393, allocations: 282 kB / 381 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.3982, allocations: 1.025 MB / 382 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008382/0.4066, allocations: 1.373 MB / 383.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007679/0.4143, allocations: 2.626 MB / 386 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/0.4166, allocations: 499.4 kB / 386.5 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.4196, allocations: 0.727 MB / 387.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.4223, allocations: 0.7674 MB / 388 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004589/0.4227, allocations: 42.28 kB / 388.1 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004238/0.427, allocations: 1.066 MB / 389.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006884/0.4277, allocations: 276.9 kB / 389.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000613/0.4283, allocations: 175.8 kB / 389.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00292/0.4313, allocations: 1.289 MB / 390.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4313, allocations: 0 / 390.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4313, allocations: 4.938 kB / 390.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.4313, allocations: 0 / 390.9 MB, free: 6.395 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002949/0.4343, allocations: 1.114 MB / 392 MB, free: 5.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.4343, allocations: 12.88 kB / 392 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.4347, allocations: 95.3 kB / 392.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009668/0.4357, allocations: 0.5794 MB / 392.7 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.4358, allocations: 105.4 kB / 392.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.4359, allocations: 55.25 kB / 392.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.4377, allocations: 0.8962 MB / 393.7 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.4377, allocations: 0 / 393.7 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.4378, allocations: 25.55 kB / 393.7 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.4379, allocations: 53.05 kB / 393.8 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.4395, allocations: 0.8416 MB / 394.6 MB, free: 3.922 MB / 302.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.005901/0.4454, allocations: 3.468 MB / 398.1 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.4467, allocations: 0.6576 MB / 398.8 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006206/0.4473, allocations: 363.3 kB / 399.1 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003331/0.4506, allocations: 2.055 MB / 401.2 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.4507, allocations: 42.2 kB / 401.2 MB, free: 14.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 2.485e-06/0.4507, allocations: 0 / 401.2 MB, free: 14.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.007055/0.4578, allocations: 2.854 MB / 404.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.4579, allocations: 88.02 kB / 404.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009507/0.4588, allocations: 0.6704 MB / 404.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.479e-05/0.4589, allocations: 39.77 kB / 404.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.4592, allocations: 337.4 kB / 405.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.4594, allocations: 227.3 kB / 405.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.4595, allocations: 16.91 kB / 405.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.4597, allocations: 385.3 kB / 405.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000568/0.4602, allocations: 355.4 kB / 406.2 MB, free: 11.63 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007135/0.4609, allocations: 0.5054 MB / 406.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007227/0.4617, allocations: 421.4 kB / 407.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4617, allocations: 5.547 kB / 407.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001984/0.4637, allocations: 1.147 MB / 408.2 MB, free: 9.902 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.4639, allocations: 207.4 kB / 408.4 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4639, allocations: 4 kB / 408.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.4652, allocations: 452.4 kB / 408.9 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/0.4658, allocations: 156.6 kB / 409 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.4671, allocations: 1.032 MB / 410.1 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/0.4678, allocations: 43.89 kB / 410.1 MB, free: 7.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.4679, allocations: 31.98 kB / 410.1 MB, free: 7.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.4679, allocations: 4 kB / 410.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001774/0.4697, allocations: 1 MB / 411.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.4697, allocations: 4 kB / 411.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000678/0.4704, allocations: 312.9 kB / 411.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.471, allocations: 171.7 kB / 411.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009965/0.4721, allocations: 0.8996 MB / 412.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00067/0.4727, allocations: 47.88 kB / 412.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.4728, allocations: 35.98 kB / 412.6 MB, free: 5.41 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005276/0.4734, allocations: 328.8 kB / 412.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.4736, allocations: 87.02 kB / 413 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/0.4757, allocations: 1.082 MB / 414.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.4757, allocations: 8 kB / 414.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.4757, allocations: 3.938 kB / 414.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.4758, allocations: 3.984 kB / 414.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.4793, allocations: 2.005 MB / 416.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4793, allocations: 0 / 416.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/0.4799, allocations: 119.9 kB / 416.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/0.4813, allocations: 449.4 kB / 416.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/0.4813, allocations: 15.98 kB / 416.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.4826, allocations: 1.038 MB / 417.7 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4826, allocations: 0 / 417.7 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.4852, allocations: 1.586 MB / 419.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005926/0.4858, allocations: 252 kB / 419.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/0.4861, allocations: 12 kB / 419.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007226/0.4868, allocations: 51.89 kB / 419.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.487, allocations: 56.58 kB / 419.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.543e-05/0.4871, allocations: 31.97 kB / 419.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007696/0.4879, allocations: 475 kB / 420.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4879, allocations: 0 / 420.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002509/0.4904, allocations: 0.5818 MB / 420.7 MB, free: 13.13 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * 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 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002075/0.4925, allocations: 485.2 kB / 421.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003295/0.4958, allocations: 1.376 MB / 422.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.4958, allocations: 0 / 422.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009841/0.4968, allocations: 463.5 kB / 423 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.4988, allocations: 378.4 kB / 423.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.5028, allocations: 2.074 MB / 425.5 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.5036, allocations: 0.9914 MB / 426.5 MB, free: 7.359 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.5039, allocations: 87.39 kB / 426.6 MB, free: 7.273 MB / 334.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5039, allocations: 0 / 426.6 MB, free: 7.273 MB / 334.1 MB Notification: Performance of Templates: time 0.0374/0.5413, allocations: 19.05 MB / 445.6 MB, free: 4.277 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.EmptyTanksCalcHelperMain.o OMCppModelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanksCalcHelperMain.o] Error 1