Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.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.MSL_loop_2dof_noise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, 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.001052/0.001053, allocations: 173.5 kB / 16.58 MB, free: 6.348 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.547/1.547, 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.2528/0.2528, allocations: 22.35 MB / 314.1 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003977, allocations: 8 kB / 382.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4232, allocations: 55.97 MB / 438.5 MB, free: 39.14 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Interfaces.mo:1329:5-1330:50:writable] Warning: An inner declaration for outer component globalSeed could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Interfaces.mo:1329:5-1330:50:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "globalSeed" component but an inner "globalSeed" component is not defined and therefore a default inner "globalSeed" component is introduced by the tool. To change the default setting, drag Noise.GlobalSeed into your model and specify the seed. Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise): time 0.002096/0.4254, allocations: 1.639 MB / 440.2 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.4277, allocations: 1.508 MB / 441.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.4279, allocations: 7.25 kB / 441.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.4282, allocations: 56.7 kB / 441.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.4284, allocations: 80.72 kB / 441.8 MB, free: 36.89 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007785/0.4292, allocations: 392.8 kB / 442.2 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.4296, allocations: 339.4 kB / 442.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.4297, allocations: 54.27 kB / 442.6 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.4299, allocations: 173.1 kB / 442.8 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.4303, allocations: 175.5 kB / 442.9 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.4303, allocations: 10.28 kB / 443 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.4309, allocations: 430 kB / 443.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.431, allocations: 90.12 kB / 443.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.4311, allocations: 57.83 kB / 443.5 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.4315, allocations: 374.5 kB / 443.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4316, allocations: 0 / 443.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4316, allocations: 6.969 kB / 443.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.4316, allocations: 0 / 443.9 MB, free: 36.16 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00164/0.4332, allocations: 0.7635 MB / 444.7 MB, free: 35.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4333, allocations: 9.5 kB / 444.7 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.4334, allocations: 32.28 kB / 444.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/0.4342, allocations: 400.5 kB / 445.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.4342, allocations: 9.906 kB / 445.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.4343, allocations: 19.03 kB / 445.1 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.4346, allocations: 185.3 kB / 445.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4346, allocations: 0 / 445.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.4347, allocations: 10.72 kB / 445.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4347, allocations: 3 kB / 445.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.435, allocations: 177 kB / 445.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.4361, allocations: 0.656 MB / 446.1 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.4367, allocations: 275.7 kB / 446.4 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.4369, allocations: 110.5 kB / 446.5 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.437, allocations: 2.656 kB / 446.5 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.4373, allocations: 173.7 kB / 446.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.4373, allocations: 0 / 446.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001385/0.4387, allocations: 0.6134 MB / 447.3 MB, free: 34.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.4387, allocations: 64.94 kB / 447.4 MB, free: 34.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007102/0.4395, allocations: 419.3 kB / 447.8 MB, free: 34.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.4395, allocations: 40.73 kB / 447.8 MB, free: 34.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4396, allocations: 164.2 kB / 448 MB, free: 33.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.4397, allocations: 85.58 kB / 448.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.4397, allocations: 4 kB / 448.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.77e-05/0.4398, allocations: 346 kB / 448.4 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.44, allocations: 123.3 kB / 448.5 MB, free: 33.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.4402, allocations: 152.4 kB / 448.7 MB, free: 33.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.4405, allocations: 147.4 kB / 448.8 MB, free: 33.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4405, allocations: 0 / 448.8 MB, free: 33.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007684/0.4413, allocations: 449.7 kB / 449.2 MB, free: 33.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4413, allocations: 8.875 kB / 449.3 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.4413, allocations: 0 / 449.3 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002932/0.4416, allocations: 83.83 kB / 449.3 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.4418, allocations: 41.09 kB / 449.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.4431, allocations: 1.637 MB / 451 MB, free: 31.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.4434, allocations: 60.06 kB / 451.1 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.4435, allocations: 16.06 kB / 451.1 MB, free: 31.67 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: Fn.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.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: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 1 * 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.0001961/0.4437, allocations: 179.4 kB / 451.3 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.4437, allocations: 26.47 kB / 451.3 MB, free: 31.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.4438, allocations: 47.16 kB / 451.3 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4438, allocations: 7.672 kB / 451.3 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4438, allocations: 0 / 451.3 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.4438, allocations: 3.938 kB / 451.3 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.4441, allocations: 338.7 kB / 451.7 MB, free: 31.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4441, allocations: 4 kB / 451.7 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.4443, allocations: 31.55 kB / 451.7 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001885/0.4445, allocations: 71.7 kB / 451.8 MB, free: 31.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.4445, allocations: 10.62 kB / 451.8 MB, free: 31.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.4459, allocations: 1.752 MB / 453.5 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4459, allocations: 3.938 kB / 453.6 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008351/0.4468, allocations: 0.5152 MB / 454.1 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.4468, allocations: 115 kB / 454.2 MB, free: 29.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.4469, allocations: 13.25 kB / 454.2 MB, free: 29.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.4472, allocations: 52.02 kB / 454.2 MB, free: 29.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.4473, allocations: 20.92 kB / 454.3 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.4473, allocations: 2.875 kB / 454.3 MB, free: 29.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005744/0.4479, allocations: 321.6 kB / 454.6 MB, free: 29.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4479, allocations: 2.594 kB / 454.6 MB, free: 29.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005571/0.4484, allocations: 155.9 kB / 454.7 MB, free: 29.11 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Fn.x_scaled[1]) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007334/0.4492, allocations: 316.5 kB / 455 MB, free: 28.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000693/0.4499, allocations: 422.2 kB / 455.5 MB, free: 28.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4499, allocations: 2.219 kB / 455.5 MB, free: 28.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.4503, allocations: 268.8 kB / 455.7 MB, free: 28.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.4506, allocations: 50.28 kB / 455.8 MB, free: 28.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009119/0.4516, allocations: 0.6983 MB / 456.5 MB, free: 28.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.4518, allocations: 0.785 MB / 457.3 MB, free: 27.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.684e-05/0.4519, allocations: 28.84 kB / 457.3 MB, free: 27.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4519, allocations: 0 / 457.3 MB, free: 27.43 MB / 350.1 MB Notification: Performance of Templates: time 0.01521/0.4671, allocations: 6.651 MB / 463.9 MB, free: 26.84 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.makefile make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.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.MSL_loop_2dof_noiseCalcHelperMain.o OMCppAES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noiseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noiseCalcHelperMain.o] Error 1