Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_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_AHU_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002") translateModel(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001005, allocations: 103 kB / 15.71 MB, free: 460 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.001388/0.001388, allocations: 175.2 kB / 16.58 MB, free: 6.117 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.2 MB / 240.6 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2949/0.2949, allocations: 22.35 MB / 314.1 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.0004392, allocations: 12 kB / 382.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3852, allocations: 55.97 MB / 438.6 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.003484/0.3888, allocations: 3.651 MB / 442.2 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.3909, allocations: 1.289 MB / 443.5 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.3911, allocations: 2.906 kB / 443.5 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.3912, allocations: 67.41 kB / 443.6 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004205/0.3917, allocations: 210.8 kB / 443.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.3922, allocations: 197.6 kB / 444 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009204/0.3931, allocations: 1.054 MB / 445 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006622/0.3938, allocations: 465.6 kB / 445.5 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004367/0.3942, allocations: 390 kB / 445.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005453/0.3948, allocations: 464.6 kB / 446.3 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.754e-05/0.3949, allocations: 56.47 kB / 446.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.395, allocations: 54.53 kB / 446.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.3952, allocations: 167.8 kB / 446.6 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.3953, allocations: 180.4 kB / 446.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.396, allocations: 0.8153 MB / 447.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.396, allocations: 0 / 447.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.396, allocations: 0 / 447.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.396, allocations: 0 / 447.6 MB, free: 33.98 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002037/0.3981, allocations: 0.9385 MB / 448.5 MB, free: 33.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.3981, allocations: 8.938 kB / 448.5 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.3983, allocations: 76.69 kB / 448.6 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.3986, allocations: 250.7 kB / 448.8 MB, free: 33.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/0.3986, allocations: 65.56 kB / 448.9 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.3988, allocations: 84.69 kB / 449 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.4, allocations: 0.7993 MB / 449.8 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.4001, allocations: 7.953 kB / 449.8 MB, free: 32.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-05/0.4002, allocations: 44.91 kB / 449.8 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.4002, allocations: 19.84 kB / 449.9 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.4016, allocations: 0.8183 MB / 450.7 MB, free: 32.37 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 291.15) for variable: V.T Warning: Alias set with conflicting start values * Candidate: U1.T(start = U1.Tstart = 293.15, confidence number = 2) * Candidate: U1.air.T(start = 288.15, confidence number = 8) => Select value from U1.T(start = U1.Tstart = 293.15) for variable: U1.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003958/0.4056, allocations: 2.602 MB / 453.3 MB, free: 30.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.4075, allocations: 0.9892 MB / 454.3 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006324/0.4082, allocations: 418.2 kB / 454.7 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.373e-05/0.4083, allocations: 22.11 kB / 454.7 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.4083, allocations: 49.56 kB / 454.7 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005269/0.4089, allocations: 124.1 kB / 454.9 MB, free: 30.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=113): time 5.33e-06/0.4089, allocations: 0 / 454.9 MB, free: 30.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=124): time 0.009258/0.4181, allocations: 3.538 MB / 458.4 MB, free: 28.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.4183, allocations: 64.5 kB / 458.5 MB, free: 28.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.4186, allocations: 223.4 kB / 458.7 MB, free: 28.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-05/0.4187, allocations: 45.45 kB / 458.7 MB, free: 28.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.4189, allocations: 243.9 kB / 459 MB, free: 27.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/0.4193, allocations: 422.7 kB / 459.4 MB, free: 27.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.4193, allocations: 20.56 kB / 459.4 MB, free: 27.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4195, allocations: 366.5 kB / 459.8 MB, free: 27.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007403/0.4203, allocations: 351.4 kB / 460.1 MB, free: 27.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009202/0.4212, allocations: 458.9 kB / 460.5 MB, free: 26.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009256/0.4221, allocations: 430.5 kB / 461 MB, free: 26.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4221, allocations: 0.9688 kB / 461 MB, free: 26.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003283/0.4254, allocations: 1.201 MB / 462.2 MB, free: 26.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.4255, allocations: 8.125 kB / 462.2 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.4255, allocations: 0.9688 kB / 462.2 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.4267, allocations: 224.5 kB / 462.4 MB, free: 26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005896/0.4327, allocations: 0.8157 MB / 463.2 MB, free: 25.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/0.4445, allocations: 13.9 MB / 477.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.4457, allocations: 58.47 kB / 477.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/0.446, allocations: 38.5 kB / 477.2 MB, free: 11.92 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: V.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = V.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real U1.phi:VARIABLE(start = U1.phistart fixed = true ) type: Real U1.T:VARIABLE(min = max(0.0, 0.0) start = U1.Tstart unit = "K" fixed = true nominal = 300.0 ) "controlled T" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (AHUon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,77.8%) 4,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008897/0.4469, allocations: 260.1 kB / 477.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.4471, allocations: 55.03 kB / 477.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/0.451, allocations: 1.489 MB / 479 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.4511, allocations: 13.09 kB / 479 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/0.4511, allocations: 1.938 kB / 479 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/0.4511, allocations: 4.5 kB / 479 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005789/0.4569, allocations: 2.579 MB / 481.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.457, allocations: 5.5 kB / 481.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005343/0.4623, allocations: 0.757 MB / 482.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002156/0.4645, allocations: 388.7 kB / 482.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/0.4647, allocations: 37.11 kB / 482.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/0.477, allocations: 14.13 MB / 496.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.7e-05/0.477, allocations: 11.56 kB / 496.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005338/0.4824, allocations: 2.055 MB / 499 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003496/0.4828, allocations: 135 kB / 499.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.4829, allocations: 31.14 kB / 499.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007453/0.4836, allocations: 54.06 kB / 499.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003999/0.484, allocations: 122.5 kB / 499.3 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.4842, allocations: 54.03 kB / 499.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002132/0.4844, allocations: 160.5 kB / 499.5 MB, free: 9.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4844, allocations: 5.094 kB / 499.5 MB, free: 9.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001653/0.4861, allocations: 257.6 kB / 499.8 MB, free: 9.816 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 5 (U1.T,U1.phi,V.Ma,V.p,V.T) * 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 (119): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002658/0.4863, allocations: 145.6 kB / 499.9 MB, free: 9.688 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.007288/0.4936, allocations: 2.023 MB / 0.4902 GB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.4937, allocations: 1.125 kB / 0.4902 GB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006196/0.4999, allocations: 1.606 MB / 0.4917 GB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.5013, allocations: 187 kB / 0.4919 GB, free: 7.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.5054, allocations: 2.292 MB / 0.4942 GB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/0.5061, allocations: 0.9336 MB / 0.4951 GB, free: 4.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.5065, allocations: 74.7 kB / 0.4951 GB, free: 4.75 MB / 366.1 MB Notification: Performance of SimCode: time 1.863e-06/0.5065, allocations: 0 / 0.4951 GB, free: 4.75 MB / 366.1 MB Notification: Performance of Templates: time 0.04437/0.5509, allocations: 36.58 MB / 0.5309 GB, free: 0.5078 MB / 398.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.makefile make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_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_AHU_case_002CalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002CalcHelperMain.o] Error 1