Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_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_Generation.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007879/0.0007879, 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.0009048/0.0009049, allocations: 175.2 kB / 16.58 MB, free: 6.879 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.48/1.48, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2703/0.2703, allocations: 22.35 MB / 314.1 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 12 kB / 382.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4043, allocations: 55.98 MB / 438.6 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.003904/0.4082, allocations: 3.947 MB / 442.5 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.4106, allocations: 1.239 MB / 443.7 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.4109, allocations: 16.53 kB / 443.8 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.4111, allocations: 116.2 kB / 443.9 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006192/0.4118, allocations: 413.9 kB / 444.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.4124, allocations: 195.6 kB / 444.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.4145, allocations: 2.257 MB / 446.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.4161, allocations: 1.102 MB / 447.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.4173, allocations: 0.6234 MB / 448.4 MB, free: 33.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.4187, allocations: 0.9054 MB / 449.4 MB, free: 33.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.419, allocations: 93 kB / 449.4 MB, free: 33.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.4192, allocations: 90.59 kB / 449.5 MB, free: 33.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005125/0.4198, allocations: 0.5618 MB / 450.1 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.4201, allocations: 311 kB / 450.4 MB, free: 32.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.4223, allocations: 2.047 MB / 452.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/0.4223, allocations: 0 / 452.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4223, allocations: 0 / 452.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.219e-05/0.4224, allocations: 4 kB / 452.4 MB, free: 32.35 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004548/0.427, allocations: 1.802 MB / 454.2 MB, free: 31.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.949e-05/0.4271, allocations: 10.62 kB / 454.3 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004094/0.4275, allocations: 149.5 kB / 454.4 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.4291, allocations: 0.8323 MB / 455.2 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.4292, allocations: 120.6 kB / 455.4 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/0.4295, allocations: 133.4 kB / 455.5 MB, free: 30.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003769/0.4333, allocations: 1.581 MB / 457.1 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.4333, allocations: 4 kB / 457.1 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.4335, allocations: 45.88 kB / 457.1 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/0.4335, allocations: 32.44 kB / 457.1 MB, free: 30.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/0.4366, allocations: 1.414 MB / 458.6 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.449, allocations: 7.202 MB / 465.8 MB, free: 24.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005064/0.4541, allocations: 1.883 MB / 467.6 MB, free: 24.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.4554, allocations: 0.7226 MB / 468.4 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.785e-05/0.4555, allocations: 15.48 kB / 468.4 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.4556, allocations: 45.77 kB / 468.4 MB, free: 23.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.997e-06/0.4556, allocations: 0 / 468.4 MB, free: 23.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.007591/0.4632, allocations: 3.995 MB / 472.4 MB, free: 21.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.4633, allocations: 62.03 kB / 472.5 MB, free: 21.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.4647, allocations: 0.6801 MB / 473.2 MB, free: 20.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.837e-05/0.4648, allocations: 40.73 kB / 473.2 MB, free: 20.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/0.4653, allocations: 0.502 MB / 473.7 MB, free: 20.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004904/0.4658, allocations: 414.5 kB / 474.1 MB, free: 20.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.939e-05/0.4659, allocations: 25.34 kB / 474.1 MB, free: 20.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.4661, allocations: 418.4 kB / 474.5 MB, free: 19.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.4676, allocations: 0.8354 MB / 475.4 MB, free: 19.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.4692, allocations: 1.001 MB / 476.4 MB, free: 18.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.4709, allocations: 0.9579 MB / 477.3 MB, free: 18.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.4709, allocations: 1.094 kB / 477.3 MB, free: 18.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00523/0.4762, allocations: 2.476 MB / 479.8 MB, free: 17.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.4762, allocations: 7.406 kB / 479.8 MB, free: 17.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.4762, allocations: 4.781 kB / 479.8 MB, free: 17.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001831/0.4781, allocations: 0.5496 MB / 480.4 MB, free: 16.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/0.4802, allocations: 395.2 kB / 480.8 MB, free: 16.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0164/0.4966, allocations: 21.44 MB / 0.4904 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.4988, allocations: 154.7 kB / 0.4906 GB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.4989, allocations: 48.05 kB / 0.4906 GB, free: 10.18 MB / 366.1 MB Warning: Assuming fixed start value for the following 2 variables: CH.Ec:VARIABLE(flow=false fixed = true ) type: Real CH.Tfo:VARIABLE(min = 0.0 start = CH.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (157): * Single equations (assignments): 142 * 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: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001241/0.5002, allocations: 417.4 kB / 0.491 GB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.5004, allocations: 94.88 kB / 0.4911 GB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/0.5043, allocations: 1.983 MB / 0.493 GB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.5044, allocations: 8 kB / 0.4931 GB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.5044, allocations: 4 kB / 0.4931 GB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.5044, allocations: 7.922 kB / 0.4931 GB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006588/0.511, allocations: 3.554 MB / 0.4965 GB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.511, allocations: 4 kB / 0.4965 GB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/0.5129, allocations: 331.9 kB / 0.4969 GB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/0.5142, allocations: 484.5 kB / 0.4973 GB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/0.5144, allocations: 67.95 kB / 0.4974 GB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/0.5338, allocations: 20.58 MB / 0.5175 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5338, allocations: 4 kB / 0.5175 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005392/0.5392, allocations: 2.719 MB / 0.5201 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.5397, allocations: 199.7 kB / 0.5203 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.5399, allocations: 59.98 kB / 0.5204 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/0.5407, allocations: 79.72 kB / 0.5205 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/0.541, allocations: 96.8 kB / 0.5206 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.5411, allocations: 28 kB / 0.5206 GB, free: 9.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006508/0.5418, allocations: 479 kB / 0.521 GB, free: 8.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.5418, allocations: 0 / 0.521 GB, free: 8.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001752/0.5435, allocations: 0.5068 MB / 0.5215 GB, free: 8.176 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 42 (CH.Tfo,CH.Ec,pipeline.fluidStream.T[1],pipeline.fluidStream.T[2],pipeline.fluidStream.T[3],pipeline.fluidStream.T[4],pipeline.fluidStream.T[5],pipeline.wall.wall.T[1,1],pipeline.wall.wall.T[1,2],pipeline.wall.wall.T[1,3],pipeline.wall.wall.T[2,1],pipeline.wall.wall.T[2,2],pipeline.wall.wall.T[2,3],pipeline.wall.wall.T[3,1],pipeline.wall.wall.T[3,2],pipeline.wall.wall.T[3,3],pipeline.wall.wall.T[4,1],pipeline.wall.wall.T[4,2],pipeline.wall.wall.T[4,3],pipeline.wall.wall.T[5,1],pipeline.wall.wall.T[5,2],pipeline.wall.wall.T[5,3],delivery.fluidStream.T[1],delivery.fluidStream.T[2],delivery.fluidStream.T[3],delivery.fluidStream.T[4],delivery.fluidStream.T[5],delivery.wall.wall.T[1,1],delivery.wall.wall.T[1,2],delivery.wall.wall.T[1,3],delivery.wall.wall.T[2,1],delivery.wall.wall.T[2,2],delivery.wall.wall.T[2,3],delivery.wall.wall.T[3,1],delivery.wall.wall.T[3,2],delivery.wall.wall.T[3,3],delivery.wall.wall.T[4,1],delivery.wall.wall.T[4,2],delivery.wall.wall.T[4,3],delivery.wall.wall.T[5,1],delivery.wall.wall.T[5,2],delivery.wall.wall.T[5,3]) * 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 (89): * Single equations (assignments): 74 * 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: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002842/0.5438, allocations: 181 kB / 0.5217 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004882/0.5487, allocations: 3.414 MB / 0.525 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.5488, allocations: 4.188 kB / 0.525 GB, free: 4.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00331/0.5521, allocations: 2.459 MB / 0.5274 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.5536, allocations: 318.6 kB / 0.5278 GB, free: 1.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.5643, allocations: 6.588 MB / 0.5342 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/0.5658, allocations: 1.274 MB / 0.5354 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007526/0.5665, allocations: 83.42 kB / 0.5355 GB, free: 9.395 MB / 414.1 MB Notification: Performance of SimCode: time 1.502e-06/0.5665, allocations: 0 / 0.5355 GB, free: 9.395 MB / 414.1 MB Notification: Performance of Templates: time 0.4345/1.001, allocations: 80.88 MB / 0.6145 GB, free: 129.5 MB / 462.1 MB make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.makefile make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_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_Generation.Heater_control_case_003CalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_Generation.Heater_control_case_003CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_Generation.Heater_control_case_003CalcHelperMain.o] Error 1