Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_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.IMC_scheme_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001016, allocations: 99.59 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.002123/0.002122, allocations: 177.1 kB / 16.58 MB, free: 6.879 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.56/1.56, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2714/0.2714, allocations: 22.35 MB / 314.1 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 12 kB / 382.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4178, allocations: 55.98 MB / 438.6 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.001457/0.4193, allocations: 0.7988 MB / 439.4 MB, free: 38.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.4214, allocations: 1.277 MB / 440.6 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.4215, allocations: 0 / 440.6 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.4218, allocations: 59.02 kB / 440.7 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.422, allocations: 65.03 kB / 440.8 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.4223, allocations: 123.3 kB / 440.9 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.4226, allocations: 321.6 kB / 441.2 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.4228, allocations: 45.55 kB / 441.2 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.4229, allocations: 167.6 kB / 441.4 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.4232, allocations: 181.2 kB / 441.6 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.4232, allocations: 10.5 kB / 441.6 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.759e-05/0.4233, allocations: 8.719 kB / 441.6 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.4234, allocations: 92.7 kB / 441.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.4234, allocations: 56.48 kB / 441.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.4236, allocations: 191.6 kB / 441.9 MB, free: 37.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4236, allocations: 0 / 441.9 MB, free: 37.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4236, allocations: 2.5 kB / 441.9 MB, free: 37.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.4236, allocations: 4 kB / 441.9 MB, free: 37.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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001574/0.4252, allocations: 0.73 MB / 442.7 MB, free: 36.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4253, allocations: 7.781 kB / 442.7 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.162e-05/0.4253, allocations: 31.12 kB / 442.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007738/0.4261, allocations: 405.5 kB / 443.1 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.4261, allocations: 10.06 kB / 443.1 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.4262, allocations: 20 kB / 443.1 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.4265, allocations: 188.7 kB / 443.3 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.4265, allocations: 0 / 443.3 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.4266, allocations: 7.953 kB / 443.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.4266, allocations: 9.844 kB / 443.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.4269, allocations: 195.7 kB / 443.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.428, allocations: 0.7044 MB / 444.2 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007504/0.4287, allocations: 268.6 kB / 444.5 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.429, allocations: 129.6 kB / 444.6 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.4291, allocations: 2.844 kB / 444.6 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.4291, allocations: 37.5 kB / 444.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.4291, allocations: 0 / 444.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.002169/0.4313, allocations: 0.6897 MB / 445.3 MB, free: 35.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.4314, allocations: 54.09 kB / 445.4 MB, free: 35.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007605/0.4321, allocations: 418.2 kB / 445.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.4322, allocations: 29.7 kB / 445.8 MB, free: 35.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.4323, allocations: 149.7 kB / 446 MB, free: 35.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.656e-05/0.4324, allocations: 89.64 kB / 446.1 MB, free: 35.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.4324, allocations: 7.125 kB / 446.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.4325, allocations: 342.5 kB / 446.4 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.4326, allocations: 111.3 kB / 446.5 MB, free: 34.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.4328, allocations: 104.1 kB / 446.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.433, allocations: 118 kB / 446.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.433, allocations: 0 / 446.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007108/0.4337, allocations: 447.7 kB / 447.2 MB, free: 34.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4337, allocations: 9.5 kB / 447.2 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4338, allocations: 0 / 447.2 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.4341, allocations: 92.78 kB / 447.3 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.4343, allocations: 46.31 kB / 447.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/0.4359, allocations: 1.722 MB / 449 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.4363, allocations: 77.3 kB / 449.1 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.4363, allocations: 6.812 kB / 449.1 MB, free: 32.92 MB / 350.1 MB Warning: Assuming fixed start value for the following 7 variables: Cff.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] M.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] HF.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] P.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] HF.x_scaled[1]: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 (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000257/0.4366, allocations: 177.2 kB / 449.3 MB, free: 32.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.4366, allocations: 26.88 kB / 449.3 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.763e-05/0.4367, allocations: 44.05 kB / 449.4 MB, free: 32.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4367, allocations: 3.312 kB / 449.4 MB, free: 32.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4367, allocations: 0 / 449.4 MB, free: 32.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4367, allocations: 3.328 kB / 449.4 MB, free: 32.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.4371, allocations: 362.1 kB / 449.7 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.4371, allocations: 0 / 449.7 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.4374, allocations: 40.02 kB / 449.8 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.4376, allocations: 95.42 kB / 449.9 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.4376, allocations: 10.5 kB / 449.9 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.4391, allocations: 1.728 MB / 451.6 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4391, allocations: 2.188 kB / 451.6 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009083/0.44, allocations: 0.6098 MB / 452.2 MB, free: 30.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.4401, allocations: 117.1 kB / 452.3 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.4401, allocations: 10.05 kB / 452.3 MB, free: 30.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.4405, allocations: 57.17 kB / 452.4 MB, free: 30.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.4406, allocations: 30.67 kB / 452.4 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.4406, allocations: 2.625 kB / 452.4 MB, free: 30.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006343/0.4412, allocations: 331.6 kB / 452.7 MB, free: 30.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4412, allocations: 0 / 452.7 MB, free: 30.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.4416, allocations: 62.25 kB / 452.8 MB, free: 30.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (P.x_scaled[1],P.x_scaled[2],HF.x_scaled[1],HF.x_scaled[2],M.x_scaled[1],M.x_scaled[2],Cff.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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001087/0.4417, allocations: 103.5 kB / 452.9 MB, free: 30.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006941/0.4424, allocations: 421.6 kB / 453.3 MB, free: 30.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4424, allocations: 0 / 453.3 MB, free: 30.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.4427, allocations: 277 kB / 453.6 MB, free: 29.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.4431, allocations: 44.53 kB / 453.6 MB, free: 29.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.4443, allocations: 0.7799 MB / 454.4 MB, free: 29.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.4446, allocations: 0.8013 MB / 455.2 MB, free: 28.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.935e-05/0.4447, allocations: 20.44 kB / 455.2 MB, free: 28.72 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4447, allocations: 0 / 455.2 MB, free: 28.72 MB / 350.1 MB Notification: Performance of Templates: time 0.00759/0.4523, allocations: 4.364 MB / 459.6 MB, free: 28.43 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.makefile make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_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.IMC_scheme_2dofCalcHelperMain.o OMCppAES_AES.Coursework.Tuning_brushup.IMC_scheme_2dofCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Tuning_brushup.IMC_scheme_2dofCalcHelperMain.o] Error 1