Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.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.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003") translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001087, allocations: 102.6 kB / 15.71 MB, free: 460 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.001868/0.001867, allocations: 174.6 kB / 16.58 MB, free: 6.355 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.533/1.533, allocations: 223.3 MB / 240.6 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2335/0.2335, allocations: 22.36 MB / 314.1 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003822, allocations: 12 kB / 382.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3848, allocations: 55.97 MB / 438.5 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003): time 0.003074/0.388, allocations: 2.911 MB / 441.5 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3894, allocations: 0.8935 MB / 442.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.3896, allocations: 5.375 kB / 442.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.3897, allocations: 52.84 kB / 442.4 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.39, allocations: 176.4 kB / 442.6 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.3906, allocations: 143.3 kB / 442.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007171/0.3913, allocations: 0.737 MB / 443.5 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004792/0.3918, allocations: 347.2 kB / 443.8 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.3921, allocations: 264.9 kB / 444.1 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000421/0.3925, allocations: 362.4 kB / 444.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.151e-05/0.3926, allocations: 44.31 kB / 444.5 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.272e-05/0.3927, allocations: 47.66 kB / 444.5 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.3928, allocations: 181.7 kB / 444.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.393, allocations: 125.6 kB / 444.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.3934, allocations: 0.585 MB / 445.4 MB, free: 35.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3934, allocations: 0 / 445.4 MB, free: 35.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3934, allocations: 0 / 445.4 MB, free: 35.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.3934, allocations: 0 / 445.4 MB, free: 35.28 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001546/0.395, allocations: 0.8063 MB / 446.2 MB, free: 34.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.395, allocations: 11.38 kB / 446.2 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.3952, allocations: 66.47 kB / 446.3 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.3957, allocations: 377.3 kB / 446.6 MB, free: 34.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.3958, allocations: 113.4 kB / 446.7 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.777e-05/0.3959, allocations: 51.31 kB / 446.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.3974, allocations: 0.7363 MB / 447.5 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.3974, allocations: 0 / 447.5 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.3975, allocations: 21.88 kB / 447.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3975, allocations: 11.75 kB / 447.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.3988, allocations: 0.641 MB / 448.2 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004456/0.4032, allocations: 2.678 MB / 450.9 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.4044, allocations: 0.5854 MB / 451.5 MB, free: 32.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007841/0.4052, allocations: 448 kB / 451.9 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.656e-05/0.4052, allocations: 8.203 kB / 451.9 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.4053, allocations: 37.91 kB / 452 MB, free: 32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 1.874e-06/0.4053, allocations: 0 / 452 MB, free: 32 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.005538/0.4108, allocations: 2.377 MB / 454.3 MB, free: 31.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.4109, allocations: 62.44 kB / 454.4 MB, free: 30.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.4113, allocations: 352 kB / 454.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.4113, allocations: 36.98 kB / 454.8 MB, free: 30.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.4114, allocations: 230.5 kB / 455 MB, free: 30.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.4116, allocations: 184 kB / 455.2 MB, free: 30.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.4116, allocations: 11.16 kB / 455.2 MB, free: 30.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4118, allocations: 354.2 kB / 455.5 MB, free: 30.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/0.4126, allocations: 405.9 kB / 455.9 MB, free: 29.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009494/0.4135, allocations: 447 kB / 456.4 MB, free: 29.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008798/0.4144, allocations: 390.1 kB / 456.7 MB, free: 29.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4144, allocations: 0 / 456.7 MB, free: 29.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002056/0.4165, allocations: 0.9156 MB / 457.7 MB, free: 29.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.4165, allocations: 6.375 kB / 457.7 MB, free: 29.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4166, allocations: 1.062 kB / 457.7 MB, free: 29.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.4166, allocations: 3.719 kB / 457.7 MB, free: 29.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005698/0.4223, allocations: 1.21 MB / 458.9 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/0.4223, allocations: 3.375 kB / 458.9 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.4229, allocations: 78.22 kB / 459 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/0.423, allocations: 20.34 kB / 459 MB, free: 29.21 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: 6 * Number of states: 0 () * Number of discrete variables: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0004304/0.4234, allocations: 197.9 kB / 459.2 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.4236, allocations: 41.12 kB / 459.2 MB, free: 29.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/0.4257, allocations: 0.9042 MB / 460.1 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.4258, allocations: 5.219 kB / 460.1 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.4258, allocations: 9.062 kB / 460.1 MB, free: 28.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4258, allocations: 3.047 kB / 460.1 MB, free: 28.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/0.4295, allocations: 1.832 MB / 462 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4295, allocations: 3.938 kB / 462 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005865/0.4354, allocations: 1.195 MB / 463.2 MB, free: 27.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.912e-05/0.4354, allocations: 2.188 kB / 463.2 MB, free: 27.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.4355, allocations: 17.44 kB / 463.2 MB, free: 27.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-06/0.4355, allocations: 3.312 kB / 463.2 MB, free: 27.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4355, allocations: 0 / 463.2 MB, free: 27.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.4385, allocations: 1.373 MB / 464.6 MB, free: 27.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.4387, allocations: 119.9 kB / 464.7 MB, free: 27.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.973e-05/0.4388, allocations: 13.02 kB / 464.7 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/0.4394, allocations: 76.53 kB / 464.8 MB, free: 27.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.4396, allocations: 76.19 kB / 464.8 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/0.4396, allocations: 21.33 kB / 464.9 MB, free: 26.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000337/0.44, allocations: 261.8 kB / 465.1 MB, free: 26.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.44, allocations: 0 / 465.1 MB, free: 26.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006107/0.4406, allocations: 145.3 kB / 465.3 MB, free: 26.83 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: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.0001681/0.4408, allocations: 116.2 kB / 465.4 MB, free: 26.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.4428, allocations: 0.8583 MB / 466.2 MB, free: 26.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.4429, allocations: 1.375 kB / 466.2 MB, free: 26.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009703/0.4438, allocations: 450.4 kB / 466.7 MB, free: 26.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.4445, allocations: 105.2 kB / 466.8 MB, free: 26.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.4486, allocations: 2.161 MB / 468.9 MB, free: 25.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.449, allocations: 0.8516 MB / 469.8 MB, free: 24.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.4493, allocations: 55.12 kB / 469.8 MB, free: 24.34 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4493, allocations: 1.5 kB / 469.8 MB, free: 24.34 MB / 350.1 MB Notification: Performance of Templates: time 0.01405/0.4634, allocations: 7.319 MB / 477.2 MB, free: 22.21 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.makefile make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.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.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003CalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003CalcHelperMain.o] Error 1