Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.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_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001077, allocations: 99.36 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.001128/0.001128, allocations: 179.7 kB / 16.58 MB, free: 6.422 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.53/1.53, allocations: 223.2 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.2896/0.2896, allocations: 22.35 MB / 314.1 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003516, allocations: 11.98 kB / 382.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.41, allocations: 55.97 MB / 438.6 MB, free: 39.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim): time 0.004303/0.4144, allocations: 3.972 MB / 442.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.4168, allocations: 1.255 MB / 443.8 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.4172, allocations: 19.19 kB / 443.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.4174, allocations: 116.2 kB / 443.9 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006291/0.4181, allocations: 413.2 kB / 444.3 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006313/0.4187, allocations: 204.6 kB / 444.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001844/0.4206, allocations: 2.271 MB / 446.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.4219, allocations: 1.125 MB / 447.9 MB, free: 33.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008394/0.4227, allocations: 0.6322 MB / 448.5 MB, free: 33.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.4238, allocations: 0.8969 MB / 449.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.424, allocations: 91.5 kB / 449.5 MB, free: 33.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.4243, allocations: 86.66 kB / 449.6 MB, free: 33.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005587/0.4249, allocations: 0.5636 MB / 450.2 MB, free: 33.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.4253, allocations: 305.5 kB / 450.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.4272, allocations: 2.032 MB / 452.5 MB, free: 32.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.4272, allocations: 2.562 kB / 452.5 MB, free: 32.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4272, allocations: 0 / 452.5 MB, free: 32.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.133e-05/0.4272, allocations: 0 / 452.5 MB, free: 32.58 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.003885/0.4311, allocations: 1.792 MB / 454.3 MB, free: 31.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.4312, allocations: 9.469 kB / 454.3 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000312/0.4315, allocations: 145.2 kB / 454.5 MB, free: 31.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.4327, allocations: 0.8403 MB / 455.3 MB, free: 31.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.4329, allocations: 115.1 kB / 455.4 MB, free: 31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.4331, allocations: 141.3 kB / 455.5 MB, free: 30.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003359/0.4365, allocations: 1.58 MB / 457.1 MB, free: 30.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.4365, allocations: 0.9062 kB / 457.1 MB, free: 30.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.4366, allocations: 45.38 kB / 457.2 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.4367, allocations: 28.91 kB / 457.2 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002727/0.4394, allocations: 1.403 MB / 458.6 MB, free: 29.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.4513, allocations: 7.177 MB / 465.8 MB, free: 25.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005067/0.4564, allocations: 1.868 MB / 467.6 MB, free: 24.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.4578, allocations: 0.7306 MB / 468.4 MB, free: 24.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.244e-05/0.4579, allocations: 14.45 kB / 468.4 MB, free: 24.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.4579, allocations: 52.66 kB / 468.4 MB, free: 24.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 3.727e-06/0.458, allocations: 0 / 468.4 MB, free: 24.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=103): time 0.008051/0.466, allocations: 3.987 MB / 472.4 MB, free: 21.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.4661, allocations: 67.03 kB / 472.5 MB, free: 21.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.4675, allocations: 0.6686 MB / 473.2 MB, free: 21.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.4676, allocations: 41.61 kB / 473.2 MB, free: 21.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/0.4681, allocations: 0.5157 MB / 473.7 MB, free: 20.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005086/0.4686, allocations: 418.4 kB / 474.1 MB, free: 20.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.433e-05/0.4687, allocations: 26.44 kB / 474.2 MB, free: 20.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.4689, allocations: 422 kB / 474.6 MB, free: 20.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.4707, allocations: 0.8333 MB / 475.4 MB, free: 19.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.4724, allocations: 0.9928 MB / 476.4 MB, free: 19.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.4742, allocations: 0.9581 MB / 477.4 MB, free: 18.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.4743, allocations: 2.281 kB / 477.4 MB, free: 18.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005535/0.4798, allocations: 2.473 MB / 479.8 MB, free: 17.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.4799, allocations: 11.2 kB / 479.8 MB, free: 17.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.4799, allocations: 9 kB / 479.8 MB, free: 17.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/0.4817, allocations: 0.5428 MB / 480.4 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.4836, allocations: 408.5 kB / 480.8 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.4978, allocations: 21.43 MB / 0.4905 GB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.4996, allocations: 162.7 kB / 0.4906 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.4998, allocations: 51.98 kB / 0.4907 GB, free: 10.16 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: CH.Ec:VARIABLE(flow=false fixed = true ) type: Real CH.xpi:VARIABLE(start = 0.0 fixed = true protected = 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 (160): * Single equations (assignments): 145 * 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.001054/0.5009, allocations: 437.2 kB / 0.4911 GB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.5011, allocations: 86.97 kB / 0.4912 GB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003693/0.5048, allocations: 1.979 MB / 0.4931 GB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.5048, allocations: 19.89 kB / 0.4931 GB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.5048, allocations: 4 kB / 0.4931 GB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.5048, allocations: 3.984 kB / 0.4931 GB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006338/0.5112, allocations: 3.704 MB / 0.4967 GB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.5112, allocations: 4 kB / 0.4967 GB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/0.5131, allocations: 343.6 kB / 0.4971 GB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.5144, allocations: 484.7 kB / 0.4975 GB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001679/0.5145, allocations: 63.97 kB / 0.4976 GB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01707/0.5316, allocations: 20.58 MB / 0.5177 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.5317, allocations: 4.031 kB / 0.5177 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005241/0.5369, allocations: 2.719 MB / 0.5203 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006046/0.5376, allocations: 187.8 kB / 0.5205 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.5378, allocations: 63.97 kB / 0.5206 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007648/0.5386, allocations: 83.72 kB / 0.5207 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003265/0.5389, allocations: 92.75 kB / 0.5208 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.73e-05/0.539, allocations: 31.98 kB / 0.5208 GB, free: 8.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007002/0.5397, allocations: 475 kB / 0.5212 GB, free: 8.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5398, allocations: 3.938 kB / 0.5212 GB, free: 8.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001977/0.5417, allocations: 0.5029 MB / 0.5217 GB, free: 7.984 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 43 (CH.Tfo,CH.Ec,CH.xpi,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 (92): * Single equations (assignments): 77 * 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.0003235/0.5421, allocations: 184.3 kB / 0.5219 GB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004848/0.5469, allocations: 3.422 MB / 0.5252 GB, free: 4.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.547, allocations: 0 / 0.5252 GB, free: 4.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002727/0.5497, allocations: 2.471 MB / 0.5277 GB, free: 1.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.5513, allocations: 309.8 kB / 0.528 GB, free: 1.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.5617, allocations: 6.635 MB / 0.5344 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.5629, allocations: 1.272 MB / 0.5357 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000774/0.5637, allocations: 87.42 kB / 0.5358 GB, free: 9.141 MB / 414.1 MB Notification: Performance of SimCode: time 1.472e-06/0.5637, allocations: 0 / 0.5358 GB, free: 9.141 MB / 414.1 MB Notification: Performance of Templates: time 0.3497/0.9134, allocations: 81.54 MB / 0.6154 GB, free: 128.9 MB / 462.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.makefile make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.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_component_models.Controlled_heater_case_003_limCalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_limCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_limCalcHelperMain.o] Error 1