Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.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_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, 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.001872/0.001872, allocations: 176 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.541/1.541, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2519/0.2519, allocations: 22.36 MB / 314.1 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004167, allocations: 12 kB / 382.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4187, allocations: 55.98 MB / 438.6 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.003593/0.4224, allocations: 3.941 MB / 442.5 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.4242, allocations: 1.251 MB / 443.8 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.4244, allocations: 15.97 kB / 443.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.4247, allocations: 111.7 kB / 443.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005877/0.4253, allocations: 419.4 kB / 444.3 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.4259, allocations: 191.7 kB / 444.5 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.4277, allocations: 2.252 MB / 446.7 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.4291, allocations: 1.109 MB / 447.8 MB, free: 33.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007701/0.4298, allocations: 0.6202 MB / 448.5 MB, free: 33.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.431, allocations: 0.9072 MB / 449.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.4311, allocations: 91 kB / 449.5 MB, free: 33.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.4314, allocations: 93.53 kB / 449.5 MB, free: 33.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004624/0.4318, allocations: 0.5559 MB / 450.1 MB, free: 32.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.4321, allocations: 302.5 kB / 450.4 MB, free: 32.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.4337, allocations: 2.059 MB / 452.5 MB, free: 32.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4337, allocations: 0 / 452.5 MB, free: 32.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4337, allocations: 0 / 452.5 MB, free: 32.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.344e-05/0.4338, allocations: 0 / 452.5 MB, free: 32.38 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.00362/0.4374, allocations: 1.799 MB / 454.3 MB, free: 31.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.4374, allocations: 13.64 kB / 454.3 MB, free: 31.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002711/0.4377, allocations: 144.3 kB / 454.4 MB, free: 31.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.439, allocations: 0.8395 MB / 455.2 MB, free: 30.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.4391, allocations: 120.3 kB / 455.4 MB, free: 30.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.4393, allocations: 143.7 kB / 455.5 MB, free: 30.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/0.4425, allocations: 1.573 MB / 457.1 MB, free: 30.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.4425, allocations: 0.75 kB / 457.1 MB, free: 30.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.4426, allocations: 49.84 kB / 457.1 MB, free: 30.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/0.4427, allocations: 28.5 kB / 457.2 MB, free: 30.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/0.4457, allocations: 1.421 MB / 458.6 MB, free: 29.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.4585, allocations: 7.187 MB / 465.8 MB, free: 24.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005788/0.4643, allocations: 1.896 MB / 467.7 MB, free: 24.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.4657, allocations: 0.7186 MB / 468.4 MB, free: 23.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-05/0.4658, allocations: 11.28 kB / 468.4 MB, free: 23.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.4659, allocations: 48.52 kB / 468.4 MB, free: 23.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.176e-06/0.4659, allocations: 4 kB / 468.4 MB, free: 23.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.007562/0.4735, allocations: 3.995 MB / 472.4 MB, free: 21.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.4735, allocations: 62.03 kB / 472.5 MB, free: 21.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.4747, allocations: 0.6757 MB / 473.2 MB, free: 20.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.801e-05/0.4748, allocations: 45.3 kB / 473.2 MB, free: 20.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.4752, allocations: 0.5065 MB / 473.7 MB, free: 20.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004723/0.4757, allocations: 410.4 kB / 474.1 MB, free: 20.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.436e-05/0.4758, allocations: 29.75 kB / 474.2 MB, free: 20.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.476, allocations: 413.6 kB / 474.6 MB, free: 19.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.4776, allocations: 0.8441 MB / 475.4 MB, free: 19.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.4792, allocations: 0.9959 MB / 476.4 MB, free: 18.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.4811, allocations: 0.9539 MB / 477.3 MB, free: 18.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.4811, allocations: 5.188 kB / 477.4 MB, free: 18.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005125/0.4862, allocations: 2.471 MB / 479.8 MB, free: 17.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.4863, allocations: 7.562 kB / 479.8 MB, free: 17.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.4863, allocations: 5.75 kB / 479.8 MB, free: 17.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001818/0.4881, allocations: 0.5487 MB / 480.4 MB, free: 16.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.4899, allocations: 396 kB / 480.8 MB, free: 16.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0142/0.5041, allocations: 21.44 MB / 0.4904 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.5058, allocations: 154.8 kB / 0.4906 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.5059, allocations: 51.98 kB / 0.4906 GB, free: 10.2 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.001035/0.507, allocations: 429 kB / 0.491 GB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.5072, allocations: 90.88 kB / 0.4911 GB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/0.511, allocations: 1.979 MB / 0.4931 GB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.5111, allocations: 8 kB / 0.4931 GB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5111, allocations: 8 kB / 0.4931 GB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.5111, allocations: 7.984 kB / 0.4931 GB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006015/0.5171, allocations: 3.554 MB / 0.4966 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5171, allocations: 0 / 0.4966 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/0.519, allocations: 343.8 kB / 0.4969 GB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.5202, allocations: 480.4 kB / 0.4973 GB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/0.5204, allocations: 63.97 kB / 0.4974 GB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01603/0.5364, allocations: 20.57 MB / 0.5175 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.5365, allocations: 4.219 kB / 0.5175 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00525/0.5417, allocations: 2.733 MB / 0.5202 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/0.5423, allocations: 203.7 kB / 0.5204 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.5425, allocations: 55.98 kB / 0.5204 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007533/0.5433, allocations: 83.7 kB / 0.5205 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.5436, allocations: 92.81 kB / 0.5206 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.648e-05/0.5437, allocations: 31.98 kB / 0.5206 GB, free: 9.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007119/0.5444, allocations: 471 kB / 0.5211 GB, free: 8.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5444, allocations: 4 kB / 0.5211 GB, free: 8.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001927/0.5463, allocations: 0.4991 MB / 0.5216 GB, free: 8.191 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.0003418/0.5467, allocations: 177 kB / 0.5217 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004643/0.5513, allocations: 3.421 MB / 0.5251 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.5513, allocations: 4 kB / 0.5251 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00313/0.5545, allocations: 2.46 MB / 0.5275 GB, free: 1.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.5559, allocations: 304.7 kB / 0.5278 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.568, allocations: 6.606 MB / 0.5342 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.5696, allocations: 1.268 MB / 0.5355 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009046/0.5705, allocations: 83.42 kB / 0.5355 GB, free: 9.41 MB / 414.1 MB Notification: Performance of SimCode: time 1.884e-06/0.5705, allocations: 0 / 0.5355 GB, free: 9.41 MB / 414.1 MB Notification: Performance of Templates: time 0.3793/0.9499, allocations: 80.88 MB / 0.6145 GB, free: 129.4 MB / 462.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.makefile make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.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_idealCalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_idealCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_idealCalcHelperMain.o] Error 1