Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001") translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009123/0.0009122, allocations: 100.5 kB / 15.71 MB, free: 452 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.001119/0.001119, allocations: 175.6 kB / 16.58 MB, free: 6.883 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.559/1.559, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2983/0.2983, allocations: 22.35 MB / 314.1 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004885, allocations: 8 kB / 382.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3904, allocations: 55.97 MB / 438.6 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001): time 0.002666/0.3931, allocations: 2.897 MB / 441.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3944, allocations: 0.8978 MB / 442.3 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.3945, allocations: 2.594 kB / 442.3 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.3947, allocations: 55.94 kB / 442.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.395, allocations: 166.6 kB / 442.6 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.3954, allocations: 141.8 kB / 442.7 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.396, allocations: 0.7408 MB / 443.4 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000456/0.3965, allocations: 350.5 kB / 443.8 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.3968, allocations: 260 kB / 444 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.3972, allocations: 363.6 kB / 444.4 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.893e-05/0.3973, allocations: 46.12 kB / 444.4 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-05/0.3974, allocations: 44.81 kB / 444.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.3976, allocations: 176.4 kB / 444.7 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.3977, allocations: 123.8 kB / 444.8 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.3981, allocations: 0.5806 MB / 445.4 MB, free: 35.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3981, allocations: 0 / 445.4 MB, free: 35.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3981, allocations: 0 / 445.4 MB, free: 35.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.495e-06/0.3982, allocations: 7.938 kB / 445.4 MB, free: 35.15 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.001489/0.3996, allocations: 0.805 MB / 446.2 MB, free: 34.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3997, allocations: 12.62 kB / 446.2 MB, free: 34.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.3998, allocations: 64.47 kB / 446.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005267/0.4004, allocations: 380.9 kB / 446.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.4005, allocations: 109 kB / 446.7 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.233e-05/0.4006, allocations: 51.27 kB / 446.8 MB, free: 34.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.4021, allocations: 0.7268 MB / 447.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.4021, allocations: 0 / 447.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.4022, allocations: 14.91 kB / 447.5 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.4022, allocations: 15.62 kB / 447.5 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.4035, allocations: 0.6424 MB / 448.2 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004551/0.4081, allocations: 2.686 MB / 450.9 MB, free: 32.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.4091, allocations: 0.5681 MB / 451.4 MB, free: 32.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007471/0.4098, allocations: 443.9 kB / 451.9 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-05/0.4099, allocations: 7.531 kB / 451.9 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.4099, allocations: 45.56 kB / 451.9 MB, free: 31.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 3.186e-06/0.4099, allocations: 0 / 451.9 MB, free: 31.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.004852/0.4148, allocations: 2.341 MB / 454.3 MB, free: 30.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.4148, allocations: 54.34 kB / 454.3 MB, free: 30.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.4152, allocations: 357.9 kB / 454.7 MB, free: 30.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.4152, allocations: 32.02 kB / 454.7 MB, free: 30.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.4154, allocations: 227 kB / 454.9 MB, free: 30.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.4155, allocations: 184.1 kB / 455.1 MB, free: 30.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.4155, allocations: 9.281 kB / 455.1 MB, free: 30.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.4157, allocations: 359.5 kB / 455.5 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007723/0.4164, allocations: 397.9 kB / 455.8 MB, free: 29.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007983/0.4172, allocations: 447.6 kB / 456.3 MB, free: 29.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008279/0.4181, allocations: 388.5 kB / 456.7 MB, free: 29.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4181, allocations: 0 / 456.7 MB, free: 29.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001947/0.42, allocations: 0.9095 MB / 457.6 MB, free: 29.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.4201, allocations: 9.312 kB / 457.6 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.4201, allocations: 2.281 kB / 457.6 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.4201, allocations: 11.58 kB / 457.6 MB, free: 29.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005436/0.4256, allocations: 1.181 MB / 458.8 MB, free: 29.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.4256, allocations: 10.72 kB / 458.8 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005706/0.4262, allocations: 73.62 kB / 458.9 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/0.4262, allocations: 21.19 kB / 458.9 MB, free: 29.11 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.0003844/0.4266, allocations: 201.8 kB / 459.1 MB, free: 28.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.005e-05/0.4267, allocations: 48.19 kB / 459.1 MB, free: 28.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.4287, allocations: 0.8845 MB / 460 MB, free: 28.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4287, allocations: 5.406 kB / 460 MB, free: 28.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4287, allocations: 5.297 kB / 460 MB, free: 28.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.4287, allocations: 6.75 kB / 460 MB, free: 28.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/0.4322, allocations: 1.824 MB / 461.8 MB, free: 27.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.4323, allocations: 0 / 461.8 MB, free: 27.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005574/0.4378, allocations: 1.173 MB / 463 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.029e-05/0.4379, allocations: 6.312 kB / 463 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.299e-05/0.438, allocations: 19.88 kB / 463 MB, free: 27.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.438, allocations: 6.344 kB / 463 MB, free: 27.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.438, allocations: 0 / 463 MB, free: 27.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.4407, allocations: 1.353 MB / 464.4 MB, free: 27.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.4408, allocations: 119.5 kB / 464.5 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/0.4409, allocations: 13.56 kB / 464.5 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/0.4415, allocations: 69.86 kB / 464.6 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.4417, allocations: 71.7 kB / 464.7 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.4417, allocations: 28.08 kB / 464.7 MB, free: 26.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003078/0.442, allocations: 255.3 kB / 464.9 MB, free: 26.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.442, allocations: 4 kB / 464.9 MB, free: 26.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005306/0.4426, allocations: 144.8 kB / 465.1 MB, free: 26.75 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.0001384/0.4427, allocations: 112.3 kB / 465.2 MB, free: 26.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.4446, allocations: 0.8446 MB / 466 MB, free: 26.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.4446, allocations: 5.5 kB / 466 MB, free: 26.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009525/0.4456, allocations: 435.6 kB / 466.5 MB, free: 26.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006124/0.4462, allocations: 104.7 kB / 466.6 MB, free: 26.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.4506, allocations: 2.255 MB / 468.8 MB, free: 24.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.451, allocations: 0.8516 MB / 469.7 MB, free: 24.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003413/0.4513, allocations: 54.69 kB / 469.7 MB, free: 24.27 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4513, allocations: 0 / 469.7 MB, free: 24.27 MB / 350.1 MB Notification: Performance of Templates: time 0.01282/0.4641, allocations: 7.245 MB / 477 MB, free: 22.23 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.makefile make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.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_001CalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001CalcHelperMain.o] Error 1