Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_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.HeatExchanger_1vol_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009322/0.0009324, allocations: 102.6 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.001137/0.001137, allocations: 177.1 kB / 16.58 MB, free: 6.859 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.517/1.517, allocations: 223.2 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.2324/0.2324, allocations: 22.35 MB / 314.1 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003864, allocations: 11.94 kB / 382.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4052, allocations: 55.99 MB / 438.6 MB, free: 39.26 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001): time 0.002312/0.4076, allocations: 2.143 MB / 440.7 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000417/0.408, allocations: 247.1 kB / 441 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.4082, allocations: 8.812 kB / 441 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.132e-05/0.4082, allocations: 24.94 kB / 441 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.4085, allocations: 107.1 kB / 441.1 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.4086, allocations: 32.67 kB / 441.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.4088, allocations: 268.8 kB / 441.4 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.4091, allocations: 116.7 kB / 441.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.4092, allocations: 117.5 kB / 441.6 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.4094, allocations: 88.53 kB / 441.7 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.4094, allocations: 7.969 kB / 441.7 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.078e-05/0.4094, allocations: 7.938 kB / 441.7 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/0.4095, allocations: 28.94 kB / 441.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.4095, allocations: 68.61 kB / 441.8 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.4097, allocations: 156.7 kB / 442 MB, free: 37.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4097, allocations: 0 / 442 MB, free: 37.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4097, allocations: 0 / 442 MB, free: 37.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.4097, allocations: 0 / 442 MB, free: 37.02 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005903/0.4103, allocations: 494.2 kB / 442.4 MB, free: 36.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4104, allocations: 8.625 kB / 442.5 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.4104, allocations: 33.84 kB / 442.5 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.4107, allocations: 263.2 kB / 442.7 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.4107, allocations: 10.92 kB / 442.8 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.4108, allocations: 19.28 kB / 442.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.4111, allocations: 194.9 kB / 443 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4111, allocations: 3.953 kB / 443 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.4112, allocations: 6.875 kB / 443 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.4112, allocations: 2.906 kB / 443 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.4115, allocations: 124.9 kB / 443.1 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007827/0.4122, allocations: 0.8373 MB / 443.9 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.4124, allocations: 88.06 kB / 444 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.4126, allocations: 55.66 kB / 444.1 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.4126, allocations: 6.953 kB / 444.1 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.4126, allocations: 30.56 kB / 444.1 MB, free: 35.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.4126, allocations: 2.562 kB / 444.1 MB, free: 35.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004569/0.4131, allocations: 189 kB / 444.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.4131, allocations: 55.41 kB / 444.4 MB, free: 35.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.4133, allocations: 224.9 kB / 444.6 MB, free: 35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.4133, allocations: 29.64 kB / 444.6 MB, free: 34.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.4134, allocations: 145.5 kB / 444.7 MB, free: 34.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.4135, allocations: 47.06 kB / 444.8 MB, free: 34.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.4135, allocations: 6.594 kB / 444.8 MB, free: 34.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.874e-05/0.4136, allocations: 330.3 kB / 445.1 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.645e-05/0.4137, allocations: 37 kB / 445.2 MB, free: 34.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.4138, allocations: 66.94 kB / 445.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.4139, allocations: 48.5 kB / 445.3 MB, free: 34.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4139, allocations: 0 / 445.3 MB, free: 34.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002762/0.4142, allocations: 169.1 kB / 445.4 MB, free: 34.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4142, allocations: 7.594 kB / 445.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4142, allocations: 2.75 kB / 445.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4142, allocations: 3.938 kB / 445.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.4144, allocations: 31.06 kB / 445.5 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.4145, allocations: 2.625 kB / 445.5 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.472e-05/0.4146, allocations: 24.56 kB / 445.5 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.4146, allocations: 3.031 kB / 445.5 MB, free: 34.29 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.0002111/0.4148, allocations: 136.2 kB / 445.6 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.4148, allocations: 26.08 kB / 445.7 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.4149, allocations: 20.84 kB / 445.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4149, allocations: 6.906 kB / 445.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4149, allocations: 3.328 kB / 445.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4149, allocations: 0 / 445.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.4152, allocations: 263.8 kB / 446 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4152, allocations: 4 kB / 446 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.4154, allocations: 33.44 kB / 446 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.4154, allocations: 3.844 kB / 446 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.4154, allocations: 3.953 kB / 446 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4154, allocations: 0 / 446 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4154, allocations: 0 / 446 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.4158, allocations: 300.2 kB / 446.3 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.4159, allocations: 94.61 kB / 446.4 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.4159, allocations: 7.375 kB / 446.4 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.416, allocations: 11.36 kB / 446.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.4161, allocations: 13.05 kB / 446.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.4161, allocations: 2.875 kB / 446.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.4162, allocations: 164.9 kB / 446.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4162, allocations: 0 / 446.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.4165, allocations: 45.41 kB / 446.6 MB, free: 33.44 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 (14): * Single equations (assignments): 14 * 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 9.574e-05/0.4166, allocations: 102.2 kB / 446.7 MB, free: 33.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.4169, allocations: 109.7 kB / 446.8 MB, free: 33.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4169, allocations: 0 / 446.8 MB, free: 33.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.417, allocations: 59.05 kB / 446.9 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.4174, allocations: 48.22 kB / 446.9 MB, free: 33.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/0.4183, allocations: 0.6906 MB / 447.6 MB, free: 32.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.4185, allocations: 0.7347 MB / 448.4 MB, free: 32.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.4186, allocations: 22.12 kB / 448.4 MB, free: 32.12 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4186, allocations: 0 / 448.4 MB, free: 32.12 MB / 350.1 MB Notification: Performance of Templates: time 0.004195/0.4228, allocations: 2.594 MB / 451 MB, free: 31.94 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.makefile make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_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.HeatExchanger_1vol_case_001CalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001CalcHelperMain.o] Error 1