Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001") translateModel(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009114/0.0009114, allocations: 99.83 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.001042/0.001042, allocations: 174.3 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.528/1.528, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.3112/0.3112, allocations: 22.36 MB / 314.1 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004442, allocations: 11.98 kB / 382.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3688, allocations: 55.97 MB / 438.6 MB, free: 39.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.00409/0.373, allocations: 3.457 MB / 442 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.3755, allocations: 1.245 MB / 443.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.3757, allocations: 2.75 kB / 443.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.3759, allocations: 52.77 kB / 443.3 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.3763, allocations: 195.2 kB / 443.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.3768, allocations: 189 kB / 443.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007637/0.3776, allocations: 0.9826 MB / 444.7 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.378, allocations: 342.1 kB / 445 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.3784, allocations: 335.6 kB / 445.3 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003957/0.3788, allocations: 374.3 kB / 445.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.306e-05/0.3789, allocations: 47.97 kB / 445.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.827e-05/0.379, allocations: 40 kB / 445.8 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.3791, allocations: 139 kB / 445.9 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.3792, allocations: 158.8 kB / 446.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.3797, allocations: 0.712 MB / 446.8 MB, free: 34.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3797, allocations: 0 / 446.8 MB, free: 34.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3797, allocations: 0 / 446.8 MB, free: 34.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.3798, allocations: 0 / 446.8 MB, free: 34.34 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001669/0.3814, allocations: 0.8688 MB / 447.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3815, allocations: 7.812 kB / 447.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.3816, allocations: 77.34 kB / 447.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.3818, allocations: 238.7 kB / 448 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.042e-05/0.3819, allocations: 61.78 kB / 448 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.382, allocations: 77.34 kB / 448.1 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.3831, allocations: 0.6865 MB / 448.8 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.3831, allocations: 3.984 kB / 448.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/0.3832, allocations: 37.69 kB / 448.8 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.3832, allocations: 25.34 kB / 448.9 MB, free: 33.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.3843, allocations: 0.6844 MB / 449.5 MB, free: 32.85 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: AHU.T(start = AHU.Tstart = 293.15, confidence number = 2) * Candidate: AHU.air.T(start = 288.15, confidence number = 8) => Select value from AHU.T(start = AHU.Tstart = 293.15) for variable: AHU.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.3874, allocations: 2.293 MB / 451.8 MB, free: 31.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.3884, allocations: 0.675 MB / 452.5 MB, free: 31.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.3889, allocations: 323.6 kB / 452.8 MB, free: 30.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.181e-05/0.389, allocations: 24.14 kB / 452.8 MB, free: 30.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.389, allocations: 44.2 kB / 452.9 MB, free: 30.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 4.318e-06/0.389, allocations: 4 kB / 452.9 MB, free: 30.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=112): time 0.006496/0.3955, allocations: 3.113 MB / 456 MB, free: 29.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.3956, allocations: 71.88 kB / 456.1 MB, free: 29.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.3958, allocations: 197.4 kB / 456.3 MB, free: 29.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.3958, allocations: 45.14 kB / 456.3 MB, free: 29.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3959, allocations: 231.7 kB / 456.5 MB, free: 28.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.3962, allocations: 381 kB / 456.9 MB, free: 28.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.3963, allocations: 16.09 kB / 456.9 MB, free: 28.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.3964, allocations: 357.3 kB / 457.3 MB, free: 28.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005201/0.3969, allocations: 295.1 kB / 457.6 MB, free: 28.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/0.3975, allocations: 380.5 kB / 457.9 MB, free: 27.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006254/0.3981, allocations: 363.2 kB / 458.3 MB, free: 27.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3981, allocations: 0 / 458.3 MB, free: 27.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002197/0.4004, allocations: 1.042 MB / 459.3 MB, free: 27.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4004, allocations: 12.23 kB / 459.3 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4004, allocations: 1.344 kB / 459.3 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.4014, allocations: 219.7 kB / 459.6 MB, free: 27.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005024/0.4065, allocations: 0.7533 MB / 460.3 MB, free: 27.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009238/0.4157, allocations: 13.89 MB / 474.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008989/0.4166, allocations: 49.27 kB / 474.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.718e-05/0.4167, allocations: 36.69 kB / 474.3 MB, free: 13.08 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, 0.0))))))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real AHU.phi:VARIABLE(start = AHU.phistart fixed = true ) type: Real AHU.T:VARIABLE(min = max(0.0, 0.0) start = AHU.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 (112): * Single equations (assignments): 102 * 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%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006387/0.4174, allocations: 257.4 kB / 474.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.4176, allocations: 48.47 kB / 474.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/0.4205, allocations: 1.251 MB / 475.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.4206, allocations: 11.17 kB / 475.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.4206, allocations: 2.344 kB / 475.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.4206, allocations: 5.906 kB / 475.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004417/0.425, allocations: 2.386 MB / 478.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.4251, allocations: 6.781 kB / 478.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004619/0.4297, allocations: 0.7011 MB / 479 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/0.4316, allocations: 378.6 kB / 479.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.4318, allocations: 32.02 kB / 479.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/0.4436, allocations: 14.06 MB / 493.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.357e-05/0.4437, allocations: 11.03 kB / 493.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/0.4478, allocations: 1.819 MB / 495.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003426/0.4481, allocations: 129.3 kB / 495.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.4482, allocations: 31.34 kB / 495.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/0.4489, allocations: 50.92 kB / 495.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003621/0.4492, allocations: 114.3 kB / 495.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.4493, allocations: 39.5 kB / 495.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.4496, allocations: 155.3 kB / 495.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.585e-06/0.4496, allocations: 1 kB / 495.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001263/0.4509, allocations: 235.1 kB / 496 MB, free: 11.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 5 (AHU.T,AHU.phi,V.Mv,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 (102): * Single equations (assignments): 92 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002568/0.4511, allocations: 142.8 kB / 496.1 MB, free: 11.18 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.007008/0.4581, allocations: 1.856 MB / 498 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/0.4582, allocations: 5.438 kB / 498 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005802/0.464, allocations: 1.51 MB / 499.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.4652, allocations: 175.5 kB / 499.7 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004307/0.4695, allocations: 2.137 MB / 0.49 GB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008319/0.4704, allocations: 0.9079 MB / 0.4909 GB, free: 7.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/0.4708, allocations: 59.16 kB / 0.491 GB, free: 7.406 MB / 366.1 MB Notification: Performance of SimCode: time 1.362e-06/0.4708, allocations: 0 / 0.491 GB, free: 7.406 MB / 366.1 MB Notification: Performance of Templates: time 0.04222/0.513, allocations: 33.03 MB / 0.5232 GB, free: 8.285 MB / 398.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.makefile make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.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_001CalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001CalcHelperMain.o] Error 1