Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_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_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001") translateModel(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009263/0.0009263, allocations: 102.4 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.0009251/0.0009251, allocations: 176.3 kB / 16.58 MB, free: 6.039 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.627/1.627, allocations: 223.3 MB / 240.6 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2677/0.2677, allocations: 22.35 MB / 314.1 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 8 kB / 382.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.419, allocations: 55.97 MB / 438.6 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001): time 0.0028/0.4219, allocations: 2.781 MB / 441.3 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.4234, allocations: 0.9432 MB / 442.3 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.4235, allocations: 6.75 kB / 442.3 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.4237, allocations: 45.14 kB / 442.3 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.4241, allocations: 189.8 kB / 442.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.4245, allocations: 138.9 kB / 442.7 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000599/0.4251, allocations: 0.7084 MB / 443.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004283/0.4255, allocations: 338.7 kB / 443.7 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.4258, allocations: 268.4 kB / 444 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004226/0.4262, allocations: 388 kB / 444.3 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.4263, allocations: 43.03 kB / 444.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.4264, allocations: 78.5 kB / 444.4 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.4266, allocations: 178.7 kB / 444.6 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.4267, allocations: 124.8 kB / 444.7 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.4272, allocations: 0.5666 MB / 445.3 MB, free: 35.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.4272, allocations: 0 / 445.3 MB, free: 35.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4272, allocations: 3.938 kB / 445.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.4272, allocations: 2.531 kB / 445.3 MB, free: 35.39 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001539/0.4288, allocations: 0.8105 MB / 446.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4288, allocations: 8.938 kB / 446.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.429, allocations: 56.84 kB / 446.2 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.4294, allocations: 379.1 kB / 446.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.4294, allocations: 33.94 kB / 446.6 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.961e-05/0.4295, allocations: 50.44 kB / 446.6 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008881/0.4304, allocations: 0.5379 MB / 447.2 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4305, allocations: 0 / 447.2 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.4305, allocations: 22.77 kB / 447.2 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4305, allocations: 11.28 kB / 447.2 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/0.4314, allocations: 0.5357 MB / 447.8 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.4341, allocations: 1.539 MB / 449.3 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008006/0.4349, allocations: 0.4981 MB / 449.8 MB, free: 33.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004421/0.4353, allocations: 258.2 kB / 450 MB, free: 32.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.4354, allocations: 9.828 kB / 450.1 MB, free: 32.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.4354, allocations: 37.62 kB / 450.1 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002173/0.4356, allocations: 64.22 kB / 450.2 MB, free: 32.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.825e-06/0.4356, allocations: 3.781 kB / 450.2 MB, free: 32.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.00266/0.4383, allocations: 1.091 MB / 451.2 MB, free: 32.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.4384, allocations: 57.78 kB / 451.3 MB, free: 32.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.4387, allocations: 391.7 kB / 451.7 MB, free: 32.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.4388, allocations: 33.64 kB / 451.7 MB, free: 32.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.4389, allocations: 247.8 kB / 452 MB, free: 31.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.439, allocations: 181.1 kB / 452.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.4391, allocations: 8 kB / 452.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4392, allocations: 362 kB / 452.5 MB, free: 31.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.4396, allocations: 251.6 kB / 452.7 MB, free: 31.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005036/0.4402, allocations: 363.5 kB / 453.1 MB, free: 31.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/0.4407, allocations: 304.4 kB / 453.4 MB, free: 30.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4407, allocations: 2.625 kB / 453.4 MB, free: 30.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001771/0.4425, allocations: 0.8463 MB / 454.2 MB, free: 30.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.4425, allocations: 11.06 kB / 454.3 MB, free: 30.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4425, allocations: 2.625 kB / 454.3 MB, free: 30.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.4435, allocations: 176 kB / 454.4 MB, free: 30.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.4447, allocations: 240.3 kB / 454.7 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006541/0.4453, allocations: 1.161 MB / 455.8 MB, free: 29.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.4457, allocations: 33.45 kB / 455.9 MB, free: 29.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.4458, allocations: 32.12 kB / 455.9 MB, free: 29.42 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (72): * Single equations (assignments): 70 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002131/0.446, allocations: 182.7 kB / 456.1 MB, free: 29.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.4461, allocations: 43.88 kB / 456.1 MB, free: 29.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.4479, allocations: 0.828 MB / 456.9 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.448, allocations: 6.5 kB / 456.9 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.448, allocations: 0 / 456.9 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.448, allocations: 4.016 kB / 456.9 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.4506, allocations: 1.47 MB / 458.4 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.4507, allocations: 0.6562 kB / 458.4 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.4517, allocations: 199 kB / 458.6 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008128/0.4525, allocations: 175 kB / 458.8 MB, free: 28.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.479e-05/0.4526, allocations: 17.25 kB / 458.8 MB, free: 28.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006516/0.4533, allocations: 1.16 MB / 460 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.4533, allocations: 1.375 kB / 460 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.4554, allocations: 1.118 MB / 461.1 MB, free: 26.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.4555, allocations: 128.2 kB / 461.2 MB, free: 26.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.84e-05/0.4556, allocations: 20.2 kB / 461.2 MB, free: 26.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.456, allocations: 26.84 kB / 461.3 MB, free: 26.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.4561, allocations: 45.2 kB / 461.3 MB, free: 26.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/0.4562, allocations: 24.02 kB / 461.3 MB, free: 26.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003015/0.4565, allocations: 269.6 kB / 461.6 MB, free: 26.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4565, allocations: 0 / 461.6 MB, free: 26.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000661/0.4572, allocations: 165.3 kB / 461.7 MB, free: 26.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (streamNL.T[1],streamNL.T[2],streamNL.T[3],streamNL.T[4],streamNL.T[5],streamLIN.T[1],streamLIN.T[2],streamLIN.T[3],streamLIN.T[4],streamLIN.T[5]) * 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 (56): * Single equations (assignments): 54 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002087/0.4574, allocations: 137.3 kB / 461.9 MB, free: 25.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.4588, allocations: 0.6672 MB / 462.5 MB, free: 25.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4589, allocations: 0 / 462.5 MB, free: 25.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007776/0.4597, allocations: 371.5 kB / 462.9 MB, free: 25.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.4603, allocations: 105.7 kB / 463 MB, free: 25.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.464, allocations: 2.166 MB / 465.2 MB, free: 24.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.4645, allocations: 0.8678 MB / 466 MB, free: 23.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.4647, allocations: 60.42 kB / 466.1 MB, free: 23.63 MB / 350.1 MB Notification: Performance of SimCode: time 1.774e-06/0.4647, allocations: 0 / 466.1 MB, free: 23.63 MB / 350.1 MB Notification: Performance of Templates: time 0.01813/0.4829, allocations: 10.49 MB / 476.6 MB, free: 20.76 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001.makefile make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_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_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001CalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001CalcHelperMain.o] Error 1