Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_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.HeatExchanger_1vol_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, 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.001379/0.00138, allocations: 175.1 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.566/1.566, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2891/0.2891, allocations: 22.35 MB / 314.1 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004034, allocations: 8 kB / 382.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4097, allocations: 55.97 MB / 438.6 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.002968/0.4128, allocations: 2.396 MB / 440.9 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007649/0.4136, allocations: 391.4 kB / 441.3 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.4138, allocations: 18.28 kB / 441.3 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.897e-05/0.4138, allocations: 28.08 kB / 441.4 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.4142, allocations: 133.8 kB / 441.5 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.4144, allocations: 44.19 kB / 441.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.4147, allocations: 334.7 kB / 441.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.4149, allocations: 139 kB / 442 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.4151, allocations: 129 kB / 442.1 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.4153, allocations: 121.4 kB / 442.3 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.4154, allocations: 14.19 kB / 442.3 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.4155, allocations: 42.73 kB / 442.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.4156, allocations: 40.72 kB / 442.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.273e-05/0.4156, allocations: 77.95 kB / 442.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.4159, allocations: 213.5 kB / 442.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4159, allocations: 0 / 442.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.4159, allocations: 0 / 442.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.4159, allocations: 0 / 442.6 MB, free: 36.62 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007627/0.4167, allocations: 0.5324 MB / 443.2 MB, free: 36.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4167, allocations: 12.12 kB / 443.2 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.4168, allocations: 35.06 kB / 443.2 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.4172, allocations: 274.1 kB / 443.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.4172, allocations: 17.22 kB / 443.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.4172, allocations: 15.03 kB / 443.5 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.4176, allocations: 211.4 kB / 443.7 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4176, allocations: 3.953 kB / 443.7 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.4176, allocations: 10.59 kB / 443.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.4177, allocations: 2.625 kB / 443.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.4179, allocations: 126.4 kB / 443.9 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000923/0.4188, allocations: 0.8195 MB / 444.7 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.4191, allocations: 103.3 kB / 444.8 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.4192, allocations: 45.02 kB / 444.8 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.4192, allocations: 0 / 444.8 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.4192, allocations: 34.17 kB / 444.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.966e-06/0.4193, allocations: 3.984 kB / 444.9 MB, free: 34.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003568/0.4196, allocations: 147.1 kB / 445 MB, free: 34.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.4197, allocations: 58.09 kB / 445.1 MB, free: 34.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.42, allocations: 286.8 kB / 445.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.42, allocations: 29.42 kB / 445.4 MB, free: 34.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.4201, allocations: 173.5 kB / 445.5 MB, free: 34.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.4201, allocations: 40.73 kB / 445.6 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.4201, allocations: 0 / 445.6 MB, free: 34.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4203, allocations: 339.1 kB / 445.9 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.95e-05/0.4203, allocations: 32.09 kB / 445.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.094e-05/0.4204, allocations: 68.92 kB / 446 MB, free: 33.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.628e-05/0.4205, allocations: 50.62 kB / 446.1 MB, free: 33.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4205, allocations: 2.969 kB / 446.1 MB, free: 33.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002379/0.4208, allocations: 158.2 kB / 446.2 MB, free: 33.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4208, allocations: 5.25 kB / 446.2 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4208, allocations: 0 / 446.2 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4209, allocations: 3.125 kB / 446.2 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.421, allocations: 42.78 kB / 446.3 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4211, allocations: 3.375 kB / 446.3 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.4212, allocations: 18.91 kB / 446.3 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.4212, allocations: 9.625 kB / 446.3 MB, free: 33.86 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = "K" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.4214, allocations: 141.5 kB / 446.4 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.4215, allocations: 31.98 kB / 446.5 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.4218, allocations: 146.9 kB / 446.6 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4218, allocations: 3.938 kB / 446.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4218, allocations: 0 / 446.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.4218, allocations: 7.375 kB / 446.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.4221, allocations: 276.3 kB / 446.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4221, allocations: 2.906 kB / 446.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.4223, allocations: 27.05 kB / 446.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.4223, allocations: 6.969 kB / 446.9 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.4223, allocations: 8 kB / 446.9 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4223, allocations: 0 / 446.9 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4223, allocations: 0 / 446.9 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.4227, allocations: 289.9 kB / 447.2 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.4228, allocations: 94.45 kB / 447.3 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.4228, allocations: 10.14 kB / 447.3 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.4229, allocations: 0 / 447.3 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.423, allocations: 12.95 kB / 447.3 MB, free: 33.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.423, allocations: 0 / 447.3 MB, free: 33.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.4232, allocations: 207.7 kB / 447.5 MB, free: 32.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4232, allocations: 0 / 447.5 MB, free: 32.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.4235, allocations: 60.44 kB / 447.6 MB, free: 32.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001467/0.4236, allocations: 103.5 kB / 447.7 MB, free: 32.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.4239, allocations: 104.3 kB / 447.8 MB, free: 32.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4239, allocations: 0 / 447.8 MB, free: 32.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.424, allocations: 48.52 kB / 447.8 MB, free: 32.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.4244, allocations: 68.16 kB / 447.9 MB, free: 32.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.4255, allocations: 0.7182 MB / 448.6 MB, free: 32.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.4257, allocations: 0.758 MB / 449.4 MB, free: 31.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.4258, allocations: 26.31 kB / 449.4 MB, free: 31.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4258, allocations: 0 / 449.4 MB, free: 31.57 MB / 350.1 MB Notification: Performance of Templates: time 0.0053/0.4311, allocations: 3.059 MB / 452.5 MB, free: 31.36 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.makefile make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_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.HeatExchanger_1vol_case_002CalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002CalcHelperMain.o] Error 1