Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0009948/0.0009947, allocations: 89.45 kB / 17.95 MB, free: 5.625 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.001299/0.001299, allocations: 180.6 kB / 18.86 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.4 MB / 225 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005542/0.0005544, allocations: 16 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1397, allocations: 47.59 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01894/0.1586, allocations: 16.11 MB / 345.7 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.1721, allocations: 7.093 MB / 352.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.1736, allocations: 31.69 kB / 352.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.1747, allocations: 298.4 kB / 353.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.1782, allocations: 1.003 MB / 354.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005207/0.1835, allocations: 1.512 MB / 355.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004804/0.1883, allocations: 3.185 MB / 358.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.1895, allocations: 0.5258 MB / 359.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.1912, allocations: 0.6888 MB / 360.1 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.1926, allocations: 0.794 MB / 360.8 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.1927, allocations: 40 kB / 360.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003071/0.1958, allocations: 1.193 MB / 362.1 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003945/0.1962, allocations: 275.2 kB / 362.3 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006335/0.1968, allocations: 447.6 kB / 362.8 MB, free: 2.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.1993, allocations: 1.302 MB / 364.1 MB, free: 1.145 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.1993, allocations: 4 kB / 364.1 MB, free: 1.141 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.1994, allocations: 0 / 364.1 MB, free: 1.141 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1994, allocations: 0 / 364.1 MB, free: 1.141 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.002914/0.2023, allocations: 1.103 MB / 365.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/0.2024, allocations: 8.031 kB / 365.2 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.2027, allocations: 92 kB / 365.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.2037, allocations: 0.6008 MB / 365.9 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.2039, allocations: 108.7 kB / 366 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.204, allocations: 51.98 kB / 366 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.2055, allocations: 0.9002 MB / 366.9 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.2056, allocations: 7.938 kB / 367 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.448e-05/0.2056, allocations: 19.98 kB / 367 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.54e-05/0.2057, allocations: 49.28 kB / 367 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.2072, allocations: 0.8482 MB / 367.9 MB, free: 13.22 MB / 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.005767/0.213, allocations: 3.458 MB / 371.3 MB, free: 9.574 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.2141, allocations: 0.6685 MB / 372 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005654/0.2147, allocations: 374.3 kB / 372.4 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003175/0.2178, allocations: 2.051 MB / 374.4 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.2179, allocations: 43.06 kB / 374.5 MB, free: 6.234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 2.645e-06/0.2179, allocations: 0 / 374.5 MB, free: 6.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.007102/0.225, allocations: 2.863 MB / 377.3 MB, free: 3.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.2251, allocations: 85.61 kB / 377.4 MB, free: 3.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008745/0.226, allocations: 0.6837 MB / 378.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/0.2261, allocations: 37.7 kB / 378.1 MB, free: 2.465 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.2264, allocations: 344.4 kB / 378.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.2266, allocations: 228.7 kB / 378.7 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.2267, allocations: 65.69 kB / 378.7 MB, free: 1.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.2269, allocations: 386.8 kB / 379.1 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005787/0.2275, allocations: 365.8 kB / 379.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007007/0.2282, allocations: 0.5191 MB / 380 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.286/0.5142, allocations: 0.8575 MB / 380.9 MB, free: 53.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/0.5143, allocations: 5.344 kB / 380.9 MB, free: 53.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003885/0.5182, allocations: 1.158 MB / 382 MB, free: 53.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.5185, allocations: 219.5 kB / 382.2 MB, free: 53.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/0.5185, allocations: 5.578 kB / 382.2 MB, free: 53.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.5205, allocations: 445.9 kB / 382.7 MB, free: 53.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008235/0.5214, allocations: 164.1 kB / 382.8 MB, free: 53.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.523, allocations: 1.018 MB / 383.9 MB, free: 53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.5241, allocations: 45.64 kB / 383.9 MB, free: 53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.5243, allocations: 31.08 kB / 383.9 MB, free: 53 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5243, allocations: 3.969 kB / 383.9 MB, free: 53 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002326/0.5266, allocations: 1.014 MB / 384.9 MB, free: 52.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.5267, allocations: 4.469 kB / 385 MB, free: 52.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008305/0.5275, allocations: 318.2 kB / 385.3 MB, free: 52.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007368/0.5283, allocations: 162.1 kB / 385.4 MB, free: 52.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.5295, allocations: 0.9013 MB / 386.3 MB, free: 52.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008545/0.5304, allocations: 48.47 kB / 386.4 MB, free: 52.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.5305, allocations: 35.27 kB / 386.4 MB, free: 52.03 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 (tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008139/0.5313, allocations: 328.6 kB / 386.7 MB, free: 51.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003967/0.5317, allocations: 79.98 kB / 386.8 MB, free: 51.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003059/0.5348, allocations: 1.095 MB / 387.9 MB, free: 51.33 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.5348, allocations: 7.469 kB / 387.9 MB, free: 51.33 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.5348, allocations: 0.875 kB / 387.9 MB, free: 51.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.5349, allocations: 3.891 kB / 387.9 MB, free: 51.33 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004909/0.5398, allocations: 2.011 MB / 389.9 MB, free: 50.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.5398, allocations: 0 / 389.9 MB, free: 50.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/0.5405, allocations: 119 kB / 390 MB, free: 50.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001525/0.542, allocations: 452.3 kB / 390.5 MB, free: 50.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-05/0.5421, allocations: 23.3 kB / 390.5 MB, free: 50.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.5434, allocations: 1.026 MB / 391.5 MB, free: 49.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5435, allocations: 0 / 391.5 MB, free: 49.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/0.5464, allocations: 1.602 MB / 393.1 MB, free: 48.94 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/0.547, allocations: 252.8 kB / 393.4 MB, free: 48.76 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.5472, allocations: 11.56 kB / 393.4 MB, free: 48.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.5479, allocations: 48.3 kB / 393.4 MB, free: 48.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.548, allocations: 53.62 kB / 393.5 MB, free: 48.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/0.5481, allocations: 34.44 kB / 393.5 MB, free: 48.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007898/0.5489, allocations: 474.5 kB / 394 MB, free: 48.53 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5489, allocations: 0 / 394 MB, free: 48.53 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002471/0.5514, allocations: 0.5871 MB / 394.6 MB, free: 48.48 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001529/0.5529, allocations: 473.2 kB / 395 MB, free: 48.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003027/0.556, allocations: 1.397 MB / 396.4 MB, free: 47.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.577e-06/0.556, allocations: 0 / 396.4 MB, free: 47.9 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009397/0.557, allocations: 462.4 kB / 396.9 MB, free: 47.71 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.559, allocations: 368.2 kB / 397.2 MB, free: 47.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.5624, allocations: 2.157 MB / 399.4 MB, free: 46.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.5629, allocations: 0.9988 MB / 400.4 MB, free: 45.22 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.5632, allocations: 85.41 kB / 400.5 MB, free: 45.2 MB / 318.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5632, allocations: 0 / 400.5 MB, free: 45.2 MB / 318.1 MB Notification: Performance of Templates: time 0.02491/0.5881, allocations: 18.95 MB / 419.4 MB, free: 26.68 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanksCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanksCalcHelperMain.o] Error 1