Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks") translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000964/0.000964, allocations: 95.09 kB / 17.58 MB, free: 5.797 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.001094/0.001094, allocations: 182 kB / 18.48 MB, free: 5.254 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.644/1.644, allocations: 205.4 MB / 224.7 MB, free: 13.14 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.0004908/0.0004909, allocations: 12 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1204, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.03018/0.1506, allocations: 27.89 MB / 356.9 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02653/0.1772, allocations: 14.3 MB / 371.2 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003427/0.1807, allocations: 59.5 kB / 371.2 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.183, allocations: 0.5085 MB / 371.7 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008678/0.1917, allocations: 2.157 MB / 373.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.202, allocations: 2.907 MB / 376.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2746/0.4766, allocations: 5.036 MB / 381.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002701/0.4794, allocations: 0.9862 MB / 382.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004283/0.4837, allocations: 1.409 MB / 384.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00493/0.4886, allocations: 1.602 MB / 385.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005186/0.4892, allocations: 86.66 kB / 385.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006455/0.4956, allocations: 2.083 MB / 388 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.4969, allocations: 0.5378 MB / 388.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000999/0.4979, allocations: 308.1 kB / 388.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005609/0.5035, allocations: 2.608 MB / 391.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5036, allocations: 0 / 391.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5036, allocations: 0 / 391.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.285e-05/0.5036, allocations: 1.031 kB / 391.4 MB, free: 12.64 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.005681/0.5093, allocations: 1.909 MB / 393.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.5094, allocations: 8.375 kB / 393.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005825/0.51, allocations: 176.2 kB / 393.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.5116, allocations: 0.9725 MB / 394.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.5118, allocations: 175.2 kB / 394.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.512, allocations: 101.1 kB / 394.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003223/0.5152, allocations: 1.741 MB / 396.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/0.5153, allocations: 9.156 kB / 396.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.5154, allocations: 42.73 kB / 396.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/0.5156, allocations: 118.5 kB / 396.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/0.5186, allocations: 1.775 MB / 398.5 MB, free: 10.93 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.01042/0.529, allocations: 6.727 MB / 405.2 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.5307, allocations: 1.231 MB / 406.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.5318, allocations: 0.7636 MB / 407.2 MB, free: 8.055 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004972/0.5368, allocations: 4.287 MB / 411.5 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.5368, allocations: 50.75 kB / 411.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008262/0.5377, allocations: 212.4 kB / 411.7 MB, free: 4.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 2.956e-06/0.5377, allocations: 6.734 kB / 411.7 MB, free: 4.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=112): time 0.01599/0.5537, allocations: 5.707 MB / 417.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.5538, allocations: 144.4 kB / 417.6 MB, free: 3.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.5554, allocations: 1.251 MB / 418.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.5556, allocations: 43.77 kB / 418.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.556, allocations: 0.6077 MB / 419.5 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/0.5563, allocations: 388.5 kB / 419.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-05/0.5564, allocations: 36.19 kB / 419.9 MB, free: 1.648 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.5565, allocations: 367.9 kB / 420.3 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009419/0.5574, allocations: 0.6918 MB / 420.9 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.5586, allocations: 1.046 MB / 422 MB, free: 15.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.5599, allocations: 0.8097 MB / 422.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.5599, allocations: 4 kB / 422.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004016/0.5639, allocations: 2.233 MB / 425 MB, free: 13.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003928/0.5643, allocations: 384.6 kB / 425.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.5643, allocations: 12 kB / 425.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006443/0.5708, allocations: 1.278 MB / 426.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.5722, allocations: 291.2 kB / 427 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.5747, allocations: 1.609 MB / 428.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.5767, allocations: 83.52 kB / 428.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.5768, allocations: 68.8 kB / 428.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.5769, allocations: 8 kB / 428.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003342/0.5802, allocations: 2.027 MB / 430.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.5803, allocations: 12 kB / 430.8 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005629/0.5859, allocations: 1.12 MB / 431.9 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.5873, allocations: 305.4 kB / 432.2 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.5894, allocations: 1.456 MB / 433.7 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.5914, allocations: 88.61 kB / 433.8 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.5916, allocations: 69.39 kB / 433.8 MB, free: 6.852 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 155 * 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 {8 18} Notification: Performance of prepare postOptimizeDAE: time 0.001227/0.5928, allocations: 459.8 kB / 434.3 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003612/0.5932, allocations: 142.3 kB / 434.4 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/0.5973, allocations: 2.101 MB / 436.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.5974, allocations: 12 kB / 436.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5974, allocations: 0 / 436.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.5974, allocations: 7.969 kB / 436.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006173/0.6036, allocations: 3.569 MB / 440.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6036, allocations: 4 kB / 440.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009105/0.6045, allocations: 192.8 kB / 440.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003382/0.6079, allocations: 1.003 MB / 441.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.6081, allocations: 34.61 kB / 441.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.6104, allocations: 1.607 MB / 442.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6104, allocations: 3.375 kB / 442.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00451/0.6149, allocations: 2.899 MB / 445.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.616, allocations: 407.1 kB / 446.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.6162, allocations: 28 kB / 446.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000949/0.6172, allocations: 87.78 kB / 446.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.6174, allocations: 101.1 kB / 446.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.6175, allocations: 51.97 kB / 446.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.6187, allocations: 0.8324 MB / 447.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.6187, allocations: 0 / 447.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00355/0.6223, allocations: 1.166 MB / 448.5 MB, free: 8.422 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 {9 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.002025/0.6243, allocations: 0.8255 MB / 449.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00565/0.63, allocations: 2.778 MB / 452.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.63, allocations: 4 kB / 452.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.6317, allocations: 0.8637 MB / 453 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.6344, allocations: 0.6223 MB / 453.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005803/0.6403, allocations: 3.631 MB / 457.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000914/0.6412, allocations: 1.28 MB / 458.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/0.6417, allocations: 145.5 kB / 458.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6417, allocations: 4 kB / 458.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of Templates: time 0.05239/0.6941, allocations: 35.5 MB / 494.2 MB, free: 10.95 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.ThreeTanksCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanksCalcHelperMain.o] Error 1