Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009688/0.000969, 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.001093/0.001093, allocations: 175.4 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.552/1.552, allocations: 223.3 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.2479/0.2479, allocations: 22.36 MB / 314.1 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 12 kB / 382.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4245, allocations: 55.97 MB / 438.5 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.002765/0.4273, allocations: 2.971 MB / 441.5 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.4287, allocations: 0.9163 MB / 442.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.4289, allocations: 9.875 kB / 442.4 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.4291, allocations: 70.92 kB / 442.5 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.4294, allocations: 245.7 kB / 442.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.4298, allocations: 125 kB / 442.9 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008943/0.4307, allocations: 1.281 MB / 444.2 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007056/0.4315, allocations: 0.6317 MB / 444.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.4318, allocations: 369.1 kB / 445.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006314/0.4325, allocations: 0.5201 MB / 445.7 MB, free: 34.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.4326, allocations: 57.59 kB / 445.7 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.4327, allocations: 56.31 kB / 445.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.433, allocations: 327.8 kB / 446.1 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.4332, allocations: 194 kB / 446.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008477/0.4341, allocations: 1.149 MB / 447.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.4341, allocations: 2.938 kB / 447.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4341, allocations: 0 / 447.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.4341, allocations: 0 / 447.4 MB, free: 34.49 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: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.002028/0.4362, allocations: 1.153 MB / 448.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4362, allocations: 11.56 kB / 448.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.4364, allocations: 88.38 kB / 448.7 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007181/0.4371, allocations: 0.5456 MB / 449.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.4372, allocations: 79.64 kB / 449.3 MB, free: 33.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.4373, allocations: 83.45 kB / 449.4 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.4388, allocations: 0.9251 MB / 450.3 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.4388, allocations: 0 / 450.3 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.4389, allocations: 29.56 kB / 450.4 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.4389, allocations: 21.03 kB / 450.4 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.4403, allocations: 0.8025 MB / 451.2 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005388/0.4457, allocations: 3.994 MB / 455.2 MB, free: 30.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.4481, allocations: 1.022 MB / 456.2 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006311/0.4487, allocations: 413.5 kB / 456.6 MB, free: 29.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.665e-05/0.4488, allocations: 15.14 kB / 456.6 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.4489, allocations: 46.47 kB / 456.7 MB, free: 29.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.815e-06/0.4489, allocations: 0 / 456.7 MB, free: 29.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.004974/0.4539, allocations: 2.385 MB / 459 MB, free: 27.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.4539, allocations: 58.12 kB / 459.1 MB, free: 27.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008793/0.4548, allocations: 413.3 kB / 459.5 MB, free: 27.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.457e-05/0.4549, allocations: 35.92 kB / 459.5 MB, free: 27.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.4552, allocations: 330.1 kB / 459.9 MB, free: 27.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.4556, allocations: 232.7 kB / 460.1 MB, free: 27.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.4556, allocations: 19.09 kB / 460.1 MB, free: 27.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4558, allocations: 364.8 kB / 460.5 MB, free: 26.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008215/0.4566, allocations: 451.3 kB / 460.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008512/0.4575, allocations: 0.4889 MB / 461.4 MB, free: 26.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009081/0.4584, allocations: 0.4923 MB / 461.9 MB, free: 26.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.4584, allocations: 0.6562 kB / 461.9 MB, free: 26.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002827/0.4612, allocations: 1.34 MB / 463.2 MB, free: 25.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.4613, allocations: 6.188 kB / 463.2 MB, free: 25.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.4613, allocations: 1.094 kB / 463.2 MB, free: 25.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.4624, allocations: 346.1 kB / 463.6 MB, free: 25.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008981/0.4633, allocations: 189.1 kB / 463.8 MB, free: 25.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008624/0.4719, allocations: 14.08 MB / 477.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008579/0.4728, allocations: 73.48 kB / 477.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/0.4729, allocations: 22.22 kB / 477.9 MB, free: 11.5 MB / 350.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: 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 (79): * Single equations (assignments): 69 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(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.0007654/0.4737, allocations: 295.7 kB / 478.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.4738, allocations: 57.03 kB / 478.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.4761, allocations: 1.134 MB / 479.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.4761, allocations: 6.625 kB / 479.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4761, allocations: 2.844 kB / 479.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.4761, allocations: 4.047 kB / 479.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003574/0.4797, allocations: 2.12 MB / 481.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.4797, allocations: 1.344 kB / 481.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009498/0.4807, allocations: 174.8 kB / 481.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008214/0.4815, allocations: 305.3 kB / 482 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-05/0.4816, allocations: 36.91 kB / 482 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008919/0.4906, allocations: 13.66 MB / 495.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4906, allocations: 1.031 kB / 495.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/0.4939, allocations: 1.593 MB / 497.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.4942, allocations: 150 kB / 497.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.4943, allocations: 32.78 kB / 497.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/0.4947, allocations: 34.81 kB / 497.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.4949, allocations: 62.69 kB / 497.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.495, allocations: 13.56 kB / 497.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004439/0.4954, allocations: 292.2 kB / 497.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4954, allocations: 0 / 497.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001247/0.4967, allocations: 299.8 kB / 498.2 MB, free: 10.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 22 (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]) * 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 (49): * Single equations (assignments): 39 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(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.0002278/0.4969, allocations: 142.6 kB / 498.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002875/0.4998, allocations: 2.043 MB / 0.4886 GB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4998, allocations: 1.594 kB / 0.4886 GB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.5017, allocations: 1.555 MB / 0.4901 GB, free: 7.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009019/0.5026, allocations: 168.1 kB / 0.4903 GB, free: 7.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006386/0.509, allocations: 3.677 MB / 0.4939 GB, free: 5.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009153/0.5099, allocations: 1.005 MB / 0.4949 GB, free: 4.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/0.5103, allocations: 50.75 kB / 0.4949 GB, free: 4.703 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5103, allocations: 4 kB / 0.4949 GB, free: 4.699 MB / 366.1 MB Notification: Performance of Templates: time 0.04136/0.5517, allocations: 35.72 MB / 0.5298 GB, free: 1.34 MB / 398.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.makefile make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.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_002CalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002CalcHelperMain.o] Error 1