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.001503/0.001503, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001597/0.001597, allocations: 194 kB / 18.72 MB, free: 4.762 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.906/1.906, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001247/0.001247, allocations: 51.92 kB / 280.6 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.128, allocations: 46.64 MB / 327.2 MB, free: 4.918 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01892/0.1469, allocations: 16.67 MB / 343.9 MB, free: 4.164 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.1598, allocations: 7.202 MB / 351.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.1611, allocations: 35.75 kB / 351.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.1624, allocations: 286.4 kB / 351.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.1656, allocations: 1.019 MB / 352.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00477/0.1704, allocations: 1.508 MB / 354 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00379/0.1742, allocations: 3.177 MB / 357.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008334/0.175, allocations: 0.5295 MB / 357.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.1763, allocations: 0.6927 MB / 358.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.1774, allocations: 0.8057 MB / 359.2 MB, free: 4.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.1775, allocations: 44 kB / 359.2 MB, free: 4.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.1803, allocations: 1.193 MB / 360.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.1806, allocations: 279.2 kB / 360.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005133/0.1811, allocations: 425.9 kB / 361.1 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.1829, allocations: 1.314 MB / 362.4 MB, free: 1.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1829, allocations: 0 / 362.4 MB, free: 1.617 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.183, allocations: 0 / 362.4 MB, free: 1.617 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.183, allocations: 4 kB / 362.4 MB, free: 1.613 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.002957/0.1859, allocations: 1.266 MB / 363.7 MB, free: 300 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.186, allocations: 8.031 kB / 363.7 MB, free: 292 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.1863, allocations: 92 kB / 363.8 MB, free: 200 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000925/0.1872, allocations: 0.601 MB / 364.4 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.1874, allocations: 104.7 kB / 364.5 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.1875, allocations: 59.97 kB / 364.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.189, allocations: 0.8963 MB / 365.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.1891, allocations: 3.938 kB / 365.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.948e-05/0.1892, allocations: 23.98 kB / 365.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.778e-05/0.1893, allocations: 49.28 kB / 365.5 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.1907, allocations: 0.8444 MB / 366.4 MB, free: 13.54 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.005642/0.1963, allocations: 3.443 MB / 369.8 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.1974, allocations: 0.6685 MB / 370.5 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/0.198, allocations: 370.3 kB / 370.8 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002946/0.201, allocations: 2.039 MB / 372.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.201, allocations: 43.06 kB / 372.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 1.843e-06/0.201, allocations: 0 / 372.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.007073/0.2081, allocations: 2.832 MB / 375.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.2082, allocations: 81.67 kB / 375.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000872/0.2091, allocations: 0.6799 MB / 376.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.641e-05/0.2091, allocations: 37.7 kB / 376.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.2094, allocations: 348.3 kB / 376.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.2096, allocations: 228.7 kB / 377.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.2099, allocations: 146.6 kB / 377.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.2101, allocations: 386.8 kB / 377.6 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005954/0.2107, allocations: 368.6 kB / 378 MB, free: 1.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007851/0.2115, allocations: 0.5191 MB / 378.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.282/0.4935, allocations: 0.8608 MB / 379.4 MB, free: 54.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.4936, allocations: 1.938 kB / 379.4 MB, free: 54.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002943/0.4965, allocations: 1.162 MB / 380.5 MB, free: 54.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.4966, allocations: 6.875 kB / 380.5 MB, free: 54.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.4966, allocations: 5.5 kB / 380.5 MB, free: 54.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/0.4985, allocations: 448.3 kB / 381 MB, free: 54.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008873/0.4994, allocations: 167.9 kB / 381.1 MB, free: 54.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.5009, allocations: 1.015 MB / 382.2 MB, free: 54.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008507/0.5018, allocations: 40.27 kB / 382.2 MB, free: 54.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.371e-05/0.5019, allocations: 35.81 kB / 382.2 MB, free: 54.1 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001018/0.5029, allocations: 0.5325 MB / 382.8 MB, free: 53.85 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008346/0.5038, allocations: 0.5157 MB / 383.3 MB, free: 53.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001414/0.5052, allocations: 0.8435 MB / 384.1 MB, free: 53.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.72e-06/0.5052, allocations: 1.406 kB / 384.1 MB, free: 53.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.00229/0.5075, allocations: 1.104 MB / 385.2 MB, free: 52.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5075, allocations: 6.531 kB / 385.2 MB, free: 52.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5075, allocations: 9.672 kB / 385.2 MB, free: 52.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008907/0.5084, allocations: 316.8 kB / 385.5 MB, free: 52.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000744/0.5092, allocations: 161.5 kB / 385.7 MB, free: 52.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.5103, allocations: 0.9097 MB / 386.6 MB, free: 51.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007069/0.5111, allocations: 47.25 kB / 386.7 MB, free: 51.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/0.5112, allocations: 32.03 kB / 386.7 MB, free: 51.93 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.000329/0.5115, allocations: 223.6 kB / 386.9 MB, free: 51.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.5117, allocations: 78.78 kB / 387 MB, free: 51.72 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.5141, allocations: 1.089 MB / 388.1 MB, free: 51.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.5141, allocations: 11.44 kB / 388.1 MB, free: 51.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5141, allocations: 0 / 388.1 MB, free: 51.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.5141, allocations: 4.172 kB / 388.1 MB, free: 51.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003923/0.5181, allocations: 2.008 MB / 390.1 MB, free: 50.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.5181, allocations: 0 / 390.1 MB, free: 50.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006337/0.5187, allocations: 124.8 kB / 390.2 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/0.5203, allocations: 455.8 kB / 390.7 MB, free: 50.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/0.5203, allocations: 18.12 kB / 390.7 MB, free: 50.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.5216, allocations: 1.029 MB / 391.7 MB, free: 49.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5216, allocations: 3.844 kB / 391.7 MB, free: 49.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/0.5247, allocations: 1.596 MB / 393.3 MB, free: 48.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/0.5252, allocations: 247.5 kB / 393.6 MB, free: 48.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.5254, allocations: 12.12 kB / 393.6 MB, free: 48.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006219/0.526, allocations: 44.41 kB / 393.6 MB, free: 48.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.5262, allocations: 53.66 kB / 393.7 MB, free: 48.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.906e-05/0.5263, allocations: 37.08 kB / 393.7 MB, free: 48.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009178/0.5273, allocations: 480.4 kB / 394.2 MB, free: 48.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5273, allocations: 3.438 kB / 394.2 MB, free: 48.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002441/0.5297, allocations: 0.5846 MB / 394.8 MB, free: 48.39 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.001068/0.5308, allocations: 485.1 kB / 395.2 MB, free: 48.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002726/0.5335, allocations: 1.396 MB / 396.6 MB, free: 47.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5335, allocations: 3.938 kB / 396.6 MB, free: 47.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008882/0.5344, allocations: 461.6 kB / 397.1 MB, free: 47.47 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.536, allocations: 370.3 kB / 397.4 MB, free: 47.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.5391, allocations: 2.043 MB / 399.5 MB, free: 45.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.5395, allocations: 0.9847 MB / 400.5 MB, free: 45.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.5398, allocations: 80.08 kB / 400.5 MB, free: 45.1 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.5398, allocations: 0 / 400.5 MB, free: 45.1 MB / 318.1 MB Notification: Performance of Templates: time 0.02144/0.5612, allocations: 19.05 MB / 419.6 MB, free: 26.05 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