Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Pumps_valve.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.Pumps_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Pumps_valve") translateModel(AES.Coursework.ThermSys_component_models.Pumps_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Pumps_valve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.000967, allocations: 99.98 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.001329/0.001329, allocations: 178.7 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.567/1.567, allocations: 223.2 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.2926/0.2926, allocations: 22.36 MB / 314.1 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004072, allocations: 8 kB / 382.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4208, allocations: 55.98 MB / 438.5 MB, free: 39.21 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.Pumps_valve): time 0.002447/0.4233, allocations: 2.523 MB / 441.1 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000687/0.424, allocations: 424.4 kB / 441.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.4241, allocations: 2.375 kB / 441.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.213e-05/0.4242, allocations: 32.66 kB / 441.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.4245, allocations: 110.6 kB / 441.6 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.4248, allocations: 75.38 kB / 441.7 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.4251, allocations: 390.2 kB / 442.1 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.4255, allocations: 203.4 kB / 442.3 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.4256, allocations: 138.9 kB / 442.4 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.4258, allocations: 188.6 kB / 442.6 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.4259, allocations: 22 kB / 442.6 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.426, allocations: 63.81 kB / 442.7 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.426, allocations: 70.94 kB / 442.8 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.155e-05/0.4261, allocations: 90.33 kB / 442.8 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.4264, allocations: 309.7 kB / 443.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4264, allocations: 0 / 443.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4264, allocations: 0 / 443.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.4264, allocations: 0 / 443.1 MB, free: 36.32 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009542/0.4274, allocations: 0.6383 MB / 443.8 MB, free: 35.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.4274, allocations: 6.906 kB / 443.8 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.4275, allocations: 47.94 kB / 443.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.4278, allocations: 289.6 kB / 444.1 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.4279, allocations: 20.47 kB / 444.1 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.4279, allocations: 26 kB / 444.2 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.4284, allocations: 289.7 kB / 444.4 MB, free: 35.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4285, allocations: 3.953 kB / 444.5 MB, free: 35.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.4285, allocations: 10.91 kB / 444.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.4285, allocations: 9.953 kB / 444.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000543/0.4291, allocations: 272.4 kB / 444.7 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.4303, allocations: 0.8228 MB / 445.6 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.4308, allocations: 247.7 kB / 445.8 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.4311, allocations: 158.4 kB / 446 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.4311, allocations: 3.625 kB / 446 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.4312, allocations: 37.94 kB / 446 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001788/0.4313, allocations: 34.7 kB / 446 MB, free: 34.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.382e-06/0.4314, allocations: 0 / 446 MB, free: 34.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.002998/0.4344, allocations: 1.016 MB / 447 MB, free: 34.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.4344, allocations: 61.95 kB / 447.1 MB, free: 33.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.4346, allocations: 286 kB / 447.4 MB, free: 33.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.4347, allocations: 29.7 kB / 447.4 MB, free: 33.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/0.4348, allocations: 182.2 kB / 447.6 MB, free: 33.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.4348, allocations: 77.31 kB / 447.7 MB, free: 33.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/0.4349, allocations: 4 kB / 447.7 MB, free: 33.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.4349, allocations: 338.8 kB / 448 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.4352, allocations: 113 kB / 448.1 MB, free: 33.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.4354, allocations: 119.4 kB / 448.2 MB, free: 33.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.4356, allocations: 118.4 kB / 448.3 MB, free: 33.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4357, allocations: 3.938 kB / 448.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001467/0.4371, allocations: 0.5181 MB / 448.9 MB, free: 32.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4372, allocations: 2.906 kB / 448.9 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4372, allocations: 6.891 kB / 448.9 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.4382, allocations: 204.3 kB / 449.1 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.4387, allocations: 96.98 kB / 449.2 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/0.4417, allocations: 4.413 MB / 453.6 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.442, allocations: 18.11 kB / 453.6 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.442, allocations: 8.766 kB / 453.6 MB, free: 28.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.4422, allocations: 155.9 kB / 453.8 MB, free: 28.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.4422, allocations: 30.59 kB / 453.8 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.4434, allocations: 0.5331 MB / 454.3 MB, free: 28.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4434, allocations: 2.625 kB / 454.3 MB, free: 28.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.4434, allocations: 2.625 kB / 454.3 MB, free: 28.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.4435, allocations: 3.375 kB / 454.3 MB, free: 28.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.445, allocations: 0.9489 MB / 455.3 MB, free: 27.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.445, allocations: 4 kB / 455.3 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.4454, allocations: 91.36 kB / 455.4 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005829/0.446, allocations: 156.9 kB / 455.5 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.4461, allocations: 4 kB / 455.5 MB, free: 27.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.4483, allocations: 4.099 MB / 459.6 MB, free: 23.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4483, allocations: 0 / 459.6 MB, free: 23.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.4494, allocations: 0.5623 MB / 460.2 MB, free: 23.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.4495, allocations: 113.5 kB / 460.3 MB, free: 23.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.4495, allocations: 9.953 kB / 460.3 MB, free: 23.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.4497, allocations: 24.25 kB / 460.3 MB, free: 23.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.4498, allocations: 29.72 kB / 460.4 MB, free: 23.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.4498, allocations: 11.88 kB / 460.4 MB, free: 23.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.45, allocations: 206 kB / 460.6 MB, free: 23.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.45, allocations: 0 / 460.6 MB, free: 23.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005601/0.4506, allocations: 103.8 kB / 460.7 MB, free: 23.13 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001498/0.4507, allocations: 117.5 kB / 460.8 MB, free: 23.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.4524, allocations: 0.6464 MB / 461.4 MB, free: 22.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4524, allocations: 0 / 461.4 MB, free: 22.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007171/0.4531, allocations: 482.2 kB / 461.9 MB, free: 22.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.4536, allocations: 50.55 kB / 462 MB, free: 22.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.4546, allocations: 0.7679 MB / 462.7 MB, free: 21.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.4549, allocations: 0.7913 MB / 463.5 MB, free: 21.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.554e-05/0.4549, allocations: 22.81 kB / 463.5 MB, free: 21.17 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4549, allocations: 0 / 463.5 MB, free: 21.17 MB / 350.1 MB Notification: Performance of Templates: time 0.01486/0.4698, allocations: 9.128 MB / 472.7 MB, free: 20.18 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Pumps_valve.makefile make -j1 -f AES_AES.Coursework.ThermSys_component_models.Pumps_valve.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.Pumps_valveCalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_component_models.Pumps_valveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_component_models.Pumps_valveCalcHelperMain.o] Error 1