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.0008058/0.0008059, allocations: 84.77 kB / 17.58 MB, free: 5.758 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.0008025/0.0008025, allocations: 183.1 kB / 18.48 MB, free: 5.207 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.663/1.663, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004674/0.0004674, allocations: 11.94 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1138, allocations: 47.59 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01587/0.1298, allocations: 15.26 MB / 344.2 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.14, allocations: 6.552 MB / 350.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.1412, allocations: 27.75 kB / 350.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009598/0.1421, allocations: 282.2 kB / 351.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00274/0.1449, allocations: 1.026 MB / 352.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.149, allocations: 1.375 MB / 353.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003264/0.1523, allocations: 2.615 MB / 356.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007685/0.153, allocations: 0.4901 MB / 356.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.1542, allocations: 0.7162 MB / 357.3 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.1552, allocations: 0.763 MB / 358.1 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.1553, allocations: 44 kB / 358.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.1577, allocations: 1.053 MB / 359.2 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.158, allocations: 271.1 kB / 359.4 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.1582, allocations: 177.3 kB / 359.6 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.1597, allocations: 1.274 MB / 360.9 MB, free: 4.043 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1597, allocations: 0 / 360.9 MB, free: 4.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1597, allocations: 3.938 kB / 360.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1598, allocations: 0 / 360.9 MB, free: 4.039 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.002355/0.1621, allocations: 1.118 MB / 362 MB, free: 2.867 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1622, allocations: 8.031 kB / 362 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002818/0.1625, allocations: 103 kB / 362.1 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009256/0.1634, allocations: 0.5701 MB / 362.7 MB, free: 2.145 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.1635, allocations: 104.7 kB / 362.8 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.1636, allocations: 55.98 kB / 362.8 MB, free: 1.977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.1651, allocations: 0.8962 MB / 363.7 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.1651, allocations: 0 / 363.7 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.173e-05/0.1652, allocations: 23.98 kB / 363.8 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.068e-05/0.1653, allocations: 49.28 kB / 363.8 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.1667, allocations: 0.8443 MB / 364.7 MB, free: 140 kB / 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.005718/0.1725, allocations: 3.466 MB / 368.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.1735, allocations: 0.6646 MB / 368.8 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005519/0.1741, allocations: 370.3 kB / 369.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002884/0.177, allocations: 2.051 MB / 371.2 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.177, allocations: 43.12 kB / 371.2 MB, free: 9.148 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 2.164e-06/0.1771, allocations: 0 / 371.2 MB, free: 9.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.006295/0.1834, allocations: 2.859 MB / 374.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.1835, allocations: 85.67 kB / 374.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008745/0.1843, allocations: 0.6682 MB / 374.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.073e-05/0.1844, allocations: 45.64 kB / 374.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.1847, allocations: 332.4 kB / 375.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.1849, allocations: 232.7 kB / 375.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.1849, allocations: 16 kB / 375.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.1852, allocations: 386.8 kB / 375.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/0.1858, allocations: 353.8 kB / 376.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007616/0.1866, allocations: 0.5152 MB / 376.7 MB, free: 3.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006701/0.1872, allocations: 407 kB / 377.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.1872, allocations: 0 / 377.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001884/0.1891, allocations: 1.149 MB / 378.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.1893, allocations: 215.5 kB / 378.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.1893, allocations: 4 kB / 378.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.1906, allocations: 440.4 kB / 378.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/0.1912, allocations: 163.7 kB / 379.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.1924, allocations: 1.024 MB / 380.1 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2342/0.4266, allocations: 43.38 kB / 380.1 MB, free: 53.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.4269, allocations: 34.28 kB / 380.2 MB, free: 53.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4269, allocations: 3 kB / 380.2 MB, free: 53.78 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002014/0.429, allocations: 0.9997 MB / 381.2 MB, free: 53.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.429, allocations: 7.531 kB / 381.2 MB, free: 53.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007463/0.4298, allocations: 306.6 kB / 381.5 MB, free: 53.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007515/0.4305, allocations: 169.5 kB / 381.6 MB, free: 53.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.4316, allocations: 0.8992 MB / 382.5 MB, free: 53.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.4323, allocations: 49.69 kB / 382.6 MB, free: 53.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/0.4324, allocations: 33.22 kB / 382.6 MB, free: 53.22 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.0004915/0.4329, allocations: 328.9 kB / 382.9 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.433, allocations: 83.86 kB / 383 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.4351, allocations: 1.093 MB / 384.1 MB, free: 52.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.4351, allocations: 7.375 kB / 384.1 MB, free: 52.94 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4351, allocations: 1.188 kB / 384.1 MB, free: 52.94 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.4351, allocations: 3.375 kB / 384.1 MB, free: 52.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.4384, allocations: 1.992 MB / 386.1 MB, free: 52.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4385, allocations: 4.922 kB / 386.1 MB, free: 52.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/0.439, allocations: 115.7 kB / 386.2 MB, free: 52.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.4404, allocations: 455.1 kB / 386.7 MB, free: 51.94 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/0.4404, allocations: 20.34 kB / 386.7 MB, free: 51.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.4416, allocations: 1.033 MB / 387.7 MB, free: 51.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4416, allocations: 1.031 kB / 387.7 MB, free: 51.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.4442, allocations: 1.593 MB / 389.3 MB, free: 50.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/0.4447, allocations: 252.4 kB / 389.6 MB, free: 50.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.4448, allocations: 12.44 kB / 389.6 MB, free: 50.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005451/0.4454, allocations: 51.08 kB / 389.6 MB, free: 50.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.4455, allocations: 57.28 kB / 389.7 MB, free: 50.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/0.4456, allocations: 26.88 kB / 389.7 MB, free: 50.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006758/0.4463, allocations: 475.5 kB / 390.2 MB, free: 50.17 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4463, allocations: 3.938 kB / 390.2 MB, free: 50.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002022/0.4483, allocations: 0.5776 MB / 390.8 MB, free: 50.12 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.001115/0.4495, allocations: 472.8 kB / 391.2 MB, free: 50.01 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003086/0.4526, allocations: 1.378 MB / 392.6 MB, free: 49.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4526, allocations: 1.375 kB / 392.6 MB, free: 49.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009567/0.4535, allocations: 470.3 kB / 393.1 MB, free: 49.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.4552, allocations: 361.3 kB / 393.4 MB, free: 49.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.4585, allocations: 2.07 MB / 395.5 MB, free: 48.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.4589, allocations: 0.9941 MB / 396.5 MB, free: 47.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.4592, allocations: 84.94 kB / 396.6 MB, free: 47.44 MB / 318.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4592, allocations: 0 / 396.6 MB, free: 47.44 MB / 318.1 MB Notification: Performance of Templates: time 0.02259/0.4818, allocations: 18.93 MB / 415.5 MB, free: 30.21 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++ 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_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