Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.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.Tuning_brushup.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") translateModel(AES.Coursework.Tuning_brushup.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.000983, allocations: 99.67 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.001268/0.001268, allocations: 174.4 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.512/1.512, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.3065/0.3065, allocations: 22.35 MB / 314.1 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 8 kB / 382.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3844, allocations: 55.97 MB / 438.5 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.001393/0.3858, allocations: 0.9493 MB / 439.5 MB, free: 38.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3873, allocations: 1.37 MB / 440.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.3874, allocations: 6.688 kB / 440.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.3878, allocations: 80.03 kB / 440.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.388, allocations: 105.3 kB / 441 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.3883, allocations: 163.8 kB / 441.2 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004165/0.3888, allocations: 442.4 kB / 441.6 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.3889, allocations: 59.48 kB / 441.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.3891, allocations: 227.3 kB / 441.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.3894, allocations: 222.5 kB / 442.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.429e-05/0.3895, allocations: 10.72 kB / 442.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.558e-05/0.3895, allocations: 14.47 kB / 442.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.3897, allocations: 103.6 kB / 442.3 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.3897, allocations: 65.36 kB / 442.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.3899, allocations: 244.6 kB / 442.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3899, allocations: 0 / 442.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3899, allocations: 0 / 442.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.39, allocations: 0 / 442.6 MB, free: 36.98 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001858/0.3918, allocations: 0.8195 MB / 443.4 MB, free: 36.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3919, allocations: 10.53 kB / 443.4 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.423e-05/0.3919, allocations: 40.38 kB / 443.4 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009904/0.3929, allocations: 480.9 kB / 443.9 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.393, allocations: 20.61 kB / 443.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.393, allocations: 20.48 kB / 443.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.3934, allocations: 208.7 kB / 444.1 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.3934, allocations: 3.953 kB / 444.2 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.3935, allocations: 6.781 kB / 444.2 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.3935, allocations: 7.797 kB / 444.2 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.3939, allocations: 231.1 kB / 444.4 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.3951, allocations: 0.7619 MB / 445.2 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.3957, allocations: 334 kB / 445.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.3959, allocations: 142.5 kB / 445.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.396, allocations: 6.938 kB / 445.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.396, allocations: 34.56 kB / 445.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.396, allocations: 0 / 445.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001619/0.3976, allocations: 0.7861 MB / 446.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.3977, allocations: 58.34 kB / 446.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000918/0.3986, allocations: 0.5061 MB / 447 MB, free: 34.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3986, allocations: 29.7 kB / 447 MB, free: 34.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3987, allocations: 175.6 kB / 447.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/0.3988, allocations: 101.3 kB / 447.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.3988, allocations: 4 kB / 447.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3989, allocations: 353.8 kB / 447.7 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.3991, allocations: 110.8 kB / 447.8 MB, free: 34.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.3993, allocations: 116.4 kB / 447.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.3995, allocations: 125.8 kB / 448 MB, free: 33.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3995, allocations: 2.75 kB / 448 MB, free: 33.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000744/0.4003, allocations: 482.8 kB / 448.5 MB, free: 33.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4003, allocations: 4.312 kB / 448.5 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4003, allocations: 0 / 448.5 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003591/0.4007, allocations: 107.1 kB / 448.6 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.4008, allocations: 40.7 kB / 448.6 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.4028, allocations: 2.991 MB / 451.6 MB, free: 30.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.4033, allocations: 85.25 kB / 451.7 MB, free: 30.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.4033, allocations: 5.25 kB / 451.7 MB, free: 30.95 MB / 350.1 MB Warning: Assuming fixed start value for the following 7 variables: Cfb_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Cfb_1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Cff_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Process_2.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_1.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] 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 (27): * Single equations (assignments): 25 * 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: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.4035, allocations: 179.2 kB / 451.9 MB, free: 30.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.4036, allocations: 40.58 kB / 451.9 MB, free: 30.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.4037, allocations: 55.27 kB / 452 MB, free: 30.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4037, allocations: 2.625 kB / 452 MB, free: 30.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.4037, allocations: 3.125 kB / 452 MB, free: 30.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4037, allocations: 3.938 kB / 452 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.4041, allocations: 400.1 kB / 452.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4041, allocations: 2.688 kB / 452.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.4043, allocations: 31.81 kB / 452.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002622/0.4046, allocations: 110.2 kB / 452.5 MB, free: 30.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.4046, allocations: 10.22 kB / 452.5 MB, free: 30.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.4065, allocations: 2.991 MB / 455.5 MB, free: 27.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4065, allocations: 0 / 455.5 MB, free: 27.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000931/0.4075, allocations: 0.652 MB / 456.2 MB, free: 27.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.4075, allocations: 127.3 kB / 456.3 MB, free: 27.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.4076, allocations: 6.625 kB / 456.3 MB, free: 27.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.408, allocations: 74.88 kB / 456.4 MB, free: 27.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.4081, allocations: 28.89 kB / 456.4 MB, free: 27.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.4081, allocations: 7.547 kB / 456.4 MB, free: 27.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000827/0.409, allocations: 409.2 kB / 456.8 MB, free: 27.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.409, allocations: 0 / 456.8 MB, free: 27.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.4093, allocations: 76.06 kB / 456.9 MB, free: 27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process_1.x_scaled[1],Process_1.x_scaled[2],Process_2.x_scaled[1],Process_2.x_scaled[2],Cff_2.x_scaled[1],Cfb_1.x_scaled[1],Cfb_2.x_scaled[1]) * 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 (20): * 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: 2 * Mixed (continuous/discrete) equation systems: 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.4095, allocations: 111.7 kB / 457 MB, free: 26.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007567/0.4102, allocations: 0.5352 MB / 457.5 MB, free: 26.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4103, allocations: 3.938 kB / 457.5 MB, free: 26.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004261/0.4107, allocations: 413.9 kB / 457.9 MB, free: 26.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.4111, allocations: 58.5 kB / 458 MB, free: 26.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.4125, allocations: 0.8963 MB / 458.9 MB, free: 25.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.4128, allocations: 0.8206 MB / 459.7 MB, free: 25.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/0.4129, allocations: 26.09 kB / 459.7 MB, free: 25.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4129, allocations: 3.281 kB / 459.7 MB, free: 25.05 MB / 350.1 MB Notification: Performance of Templates: time 0.01224/0.4251, allocations: 6.518 MB / 466.3 MB, free: 24.6 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.makefile make -j1 -f AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.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.Tuning_brushup.Exploiting_2dofCalcHelperMain.o OMCppAES_AES.Coursework.Tuning_brushup.Exploiting_2dofCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Tuning_brushup.Exploiting_2dofCalcHelperMain.o] Error 1