Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009734/0.0009733, allocations: 97.39 kB / 16.96 MB, free: 6.41 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.000881/0.0008809, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.483/1.483, allocations: 223.2 MB / 241.8 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002617, allocations: 9.844 kB / 301.4 MB, free: 6.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 50.41 MB / 351.9 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01585/0.1281, allocations: 15.25 MB / 367.1 MB, free: 4.734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2515/0.3797, allocations: 6.582 MB / 373.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.381, allocations: 30.94 kB / 373.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.3821, allocations: 277.3 kB / 374 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00355/0.3856, allocations: 1.025 MB / 375 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004851/0.3905, allocations: 1.386 MB / 376.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004629/0.3951, allocations: 2.612 MB / 379 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.3964, allocations: 498.9 kB / 379.5 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.3982, allocations: 0.7109 MB / 380.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.3997, allocations: 0.7707 MB / 381 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.3998, allocations: 41.78 kB / 381 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002924/0.4028, allocations: 1.051 MB / 382.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000461/0.4033, allocations: 266.2 kB / 382.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.4036, allocations: 173 kB / 382.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.406, allocations: 1.285 MB / 383.8 MB, free: 8.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.406, allocations: 4 kB / 383.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.406, allocations: 0 / 383.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.406, allocations: 2.031 kB / 383.8 MB, free: 8.566 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.00253/0.4086, allocations: 1.109 MB / 384.9 MB, free: 7.867 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.4086, allocations: 9.25 kB / 384.9 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003238/0.409, allocations: 99.56 kB / 385 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009327/0.4099, allocations: 0.5744 MB / 385.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.4101, allocations: 111.1 kB / 385.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.4102, allocations: 59.83 kB / 385.8 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.4118, allocations: 0.8938 MB / 386.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.4118, allocations: 1.062 kB / 386.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.851e-05/0.4119, allocations: 24.84 kB / 386.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.967e-05/0.412, allocations: 51.41 kB / 386.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.4135, allocations: 0.8425 MB / 387.6 MB, free: 7.078 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.005347/0.4189, allocations: 3.468 MB / 391 MB, free: 5.109 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.4199, allocations: 0.6674 MB / 391.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/0.4205, allocations: 366.2 kB / 392.1 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002622/0.4231, allocations: 2.046 MB / 394.1 MB, free: 3.473 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.4232, allocations: 39.34 kB / 394.1 MB, free: 3.434 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 3.967e-06/0.4232, allocations: 4 kB / 394.1 MB, free: 3.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.00699/0.4302, allocations: 2.852 MB / 397 MB, free: 2.473 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.4303, allocations: 83.52 kB / 397.1 MB, free: 2.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009298/0.4312, allocations: 0.6765 MB / 397.8 MB, free: 2.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.4313, allocations: 41.08 kB / 397.8 MB, free: 2.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.4315, allocations: 336 kB / 398.1 MB, free: 1.801 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.4317, allocations: 234.2 kB / 398.4 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.4317, allocations: 14.62 kB / 398.4 MB, free: 1.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4318, allocations: 386.8 kB / 398.7 MB, free: 1.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.4324, allocations: 352.9 kB / 399.1 MB, free: 1.047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.433, allocations: 0.5124 MB / 399.6 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006084/0.4336, allocations: 404.8 kB / 400 MB, free: 488 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4337, allocations: 3.375 kB / 400 MB, free: 488 kB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001972/0.4356, allocations: 1.144 MB / 401.1 MB, free: 15.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.4359, allocations: 221.9 kB / 401.4 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.4359, allocations: 15.02 kB / 401.4 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.4373, allocations: 441.5 kB / 401.8 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.4379, allocations: 162 kB / 402 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.4393, allocations: 1.02 MB / 403 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/0.4401, allocations: 43.92 kB / 403 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/0.4402, allocations: 28 kB / 403.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.4402, allocations: 4 kB / 403.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001742/0.4419, allocations: 1.008 MB / 404.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.442, allocations: 4 kB / 404.1 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006736/0.4426, allocations: 324.6 kB / 404.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/0.4433, allocations: 159.8 kB / 404.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.4443, allocations: 0.8996 MB / 405.4 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/0.4452, allocations: 54.59 kB / 405.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/0.4453, allocations: 32 kB / 405.5 MB, free: 11.92 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.0009434/0.4462, allocations: 332.8 kB / 405.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.4465, allocations: 79.06 kB / 405.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.4487, allocations: 1.084 MB / 407 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.4488, allocations: 8 kB / 407 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.4488, allocations: 4 kB / 407 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.4488, allocations: 3.984 kB / 407 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/0.4523, allocations: 2.005 MB / 409 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4523, allocations: 0 / 409 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.4529, allocations: 122.3 kB / 409.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/0.4541, allocations: 453.3 kB / 409.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/0.4541, allocations: 19.92 kB / 409.6 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.4553, allocations: 1.03 MB / 410.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4553, allocations: 0 / 410.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.4576, allocations: 1.6 MB / 412.2 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005202/0.4582, allocations: 252.1 kB / 412.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.4583, allocations: 8.875 kB / 412.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.4589, allocations: 55.81 kB / 412.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.459, allocations: 56.56 kB / 412.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.4591, allocations: 27.98 kB / 412.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006419/0.4597, allocations: 475 kB / 413.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4597, allocations: 0 / 413.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001997/0.4617, allocations: 0.5779 MB / 413.7 MB, free: 3.641 MB / 318.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.001062/0.4628, allocations: 479.7 kB / 414.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00276/0.4656, allocations: 1.38 MB / 415.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4656, allocations: 192 / 415.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008836/0.4665, allocations: 467.5 kB / 416 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.4682, allocations: 365.2 kB / 416.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.4719, allocations: 2.067 MB / 418.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.4725, allocations: 0.9875 MB / 419.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.4728, allocations: 83.34 kB / 419.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4728, allocations: 0 / 419.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Templates: time 0.04312/0.5159, allocations: 18.92 MB / 438.4 MB, free: 10.99 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanksCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanksCalcHelperMain.o] Error 1