Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_002.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) 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(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") translateModel(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008254/0.0008255, allocations: 100.8 kB / 15.71 MB, free: 456 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001293, allocations: 174.6 kB / 16.58 MB, free: 6.859 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.476/1.476, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2805/0.2805, allocations: 22.35 MB / 314.1 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 8 kB / 382.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3676, allocations: 55.98 MB / 438.6 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.003102/0.3707, allocations: 2.915 MB / 441.5 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.3723, allocations: 0.8953 MB / 442.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.3725, allocations: 2.812 kB / 442.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.3727, allocations: 53.59 kB / 442.4 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.373, allocations: 167.1 kB / 442.6 MB, free: 36.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.3735, allocations: 149.5 kB / 442.7 MB, free: 36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005751/0.3741, allocations: 0.7277 MB / 443.5 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004486/0.3745, allocations: 352.2 kB / 443.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.3748, allocations: 265.7 kB / 444.1 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.3753, allocations: 358.2 kB / 444.4 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.073e-05/0.3754, allocations: 43.44 kB / 444.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.369e-05/0.3755, allocations: 50.38 kB / 444.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.3757, allocations: 172.1 kB / 444.7 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.3758, allocations: 123.9 kB / 444.8 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.3762, allocations: 0.5894 MB / 445.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3762, allocations: 3.938 kB / 445.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3763, allocations: 0 / 445.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3763, allocations: 0 / 445.4 MB, free: 35.01 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001467/0.3777, allocations: 0.8059 MB / 446.2 MB, free: 34.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3778, allocations: 8.656 kB / 446.2 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.378, allocations: 65.53 kB / 446.3 MB, free: 34.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006923/0.3787, allocations: 379 kB / 446.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.3789, allocations: 114.7 kB / 446.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.3791, allocations: 49.47 kB / 446.8 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.381, allocations: 0.7231 MB / 447.5 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.381, allocations: 3.984 kB / 447.5 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.278e-05/0.3811, allocations: 22.72 kB / 447.5 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.3811, allocations: 12.91 kB / 447.6 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.3825, allocations: 0.6442 MB / 448.2 MB, free: 33.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005036/0.3875, allocations: 2.688 MB / 450.9 MB, free: 32.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009967/0.3885, allocations: 0.5643 MB / 451.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007556/0.3893, allocations: 435.3 kB / 451.9 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.877e-05/0.3894, allocations: 14.16 kB / 451.9 MB, free: 31.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.3894, allocations: 37.56 kB / 451.9 MB, free: 31.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 3.257e-06/0.3894, allocations: 11.92 kB / 451.9 MB, free: 31.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.005346/0.3948, allocations: 2.34 MB / 454.3 MB, free: 30.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.3948, allocations: 57.09 kB / 454.3 MB, free: 30.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.3952, allocations: 348.7 kB / 454.7 MB, free: 30.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.3953, allocations: 39.98 kB / 454.7 MB, free: 30.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.3954, allocations: 226.8 kB / 454.9 MB, free: 30.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.3955, allocations: 179.9 kB / 455.1 MB, free: 30.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.3956, allocations: 11.38 kB / 455.1 MB, free: 30.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.539e-05/0.3957, allocations: 357.7 kB / 455.5 MB, free: 29.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.3964, allocations: 394.3 kB / 455.9 MB, free: 29.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008934/0.3973, allocations: 449.7 kB / 456.3 MB, free: 29.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008206/0.3981, allocations: 389.6 kB / 456.7 MB, free: 29.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3982, allocations: 4 kB / 456.7 MB, free: 29.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001916/0.4001, allocations: 0.9057 MB / 457.6 MB, free: 29.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.4001, allocations: 5.688 kB / 457.6 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4001, allocations: 1.375 kB / 457.6 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.4002, allocations: 9.172 kB / 457.6 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006831/0.407, allocations: 1.189 MB / 458.8 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.601e-05/0.4071, allocations: 4.062 kB / 458.8 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/0.4078, allocations: 74.02 kB / 458.9 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.4079, allocations: 26.02 kB / 458.9 MB, free: 28.96 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004309/0.4083, allocations: 208.2 kB / 459.1 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.4084, allocations: 45.22 kB / 459.1 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.4104, allocations: 0.8855 MB / 460 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.4104, allocations: 5.469 kB / 460 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4104, allocations: 3.953 kB / 460 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.4104, allocations: 3.672 kB / 460 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003498/0.4139, allocations: 1.832 MB / 461.9 MB, free: 27.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.414, allocations: 0 / 461.9 MB, free: 27.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0057/0.4197, allocations: 1.176 MB / 463 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.716e-05/0.4197, allocations: 1.625 kB / 463 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.4198, allocations: 14.59 kB / 463.1 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.4199, allocations: 5.328 kB / 463.1 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4199, allocations: 4 kB / 463.1 MB, free: 27.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.4227, allocations: 1.356 MB / 464.4 MB, free: 26.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.4229, allocations: 115.8 kB / 464.5 MB, free: 26.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.532e-05/0.423, allocations: 15.52 kB / 464.6 MB, free: 26.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.4235, allocations: 67.55 kB / 464.6 MB, free: 26.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.4237, allocations: 71.28 kB / 464.7 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.4237, allocations: 21.36 kB / 464.7 MB, free: 26.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003113/0.4241, allocations: 255 kB / 465 MB, free: 26.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4241, allocations: 0 / 465 MB, free: 26.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005479/0.4246, allocations: 143.9 kB / 465.1 MB, free: 26.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (stank.lcold,stank.Thot,stank.Tcold,H.Tfo,H.Ec,tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.4248, allocations: 114 kB / 465.2 MB, free: 26.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.4267, allocations: 0.8455 MB / 466.1 MB, free: 26.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4267, allocations: 1.312 kB / 466.1 MB, free: 26.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009042/0.4276, allocations: 443.1 kB / 466.5 MB, free: 26.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.4282, allocations: 108.5 kB / 466.6 MB, free: 26.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004603/0.4328, allocations: 2.264 MB / 468.9 MB, free: 24.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.4333, allocations: 0.8472 MB / 469.7 MB, free: 24.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/0.4337, allocations: 53.66 kB / 469.8 MB, free: 24.11 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4337, allocations: 0 / 469.8 MB, free: 24.11 MB / 350.1 MB Notification: Performance of Templates: time 0.01623/0.45, allocations: 7.236 MB / 477 MB, free: 22.16 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_stank_002.makefile make -j1 -f AES_AES.Devel_test_models.Test_stank_002.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 OMCppAES_AES.Devel_test_models.Test_stank_002CalcHelperMain.o OMCppAES_AES.Devel_test_models.Test_stank_002CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Devel_test_models.Test_stank_002CalcHelperMain.o] Error 1