Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.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.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") translateModel(AES.Coursework.Tuning_brushup.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008655/0.0008654, allocations: 102.4 kB / 15.71 MB, free: 440 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.001173/0.001173, allocations: 177.2 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.538/1.538, allocations: 223.3 MB / 240.6 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.3243/0.3243, allocations: 22.35 MB / 314.1 MB, free: 13.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 8 kB / 382.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4243, allocations: 55.99 MB / 438.6 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.002181/0.4265, allocations: 1.645 MB / 440.2 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009837/0.4276, allocations: 0.5832 MB / 440.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.4277, allocations: 6.812 kB / 440.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.428, allocations: 35.17 kB / 440.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.4282, allocations: 35.31 kB / 440.9 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.4284, allocations: 95.8 kB / 441 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.4287, allocations: 278.6 kB / 441.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.4288, allocations: 61.44 kB / 441.3 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.429, allocations: 115.1 kB / 441.4 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.4292, allocations: 126.8 kB / 441.5 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.4292, allocations: 10.19 kB / 441.5 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.047e-05/0.4292, allocations: 12.03 kB / 441.5 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.049e-05/0.4293, allocations: 63.44 kB / 441.6 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.4294, allocations: 59.8 kB / 441.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.4296, allocations: 186.6 kB / 441.9 MB, free: 37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4296, allocations: 0 / 441.9 MB, free: 37 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.4296, allocations: 0 / 441.9 MB, free: 37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.4296, allocations: 3.938 kB / 441.9 MB, free: 37 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.001105/0.4307, allocations: 0.5899 MB / 442.4 MB, free: 36.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4308, allocations: 8.344 kB / 442.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/0.4308, allocations: 36.47 kB / 442.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.4313, allocations: 291.1 kB / 442.8 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.4314, allocations: 27.38 kB / 442.8 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.4314, allocations: 32.61 kB / 442.8 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.4319, allocations: 295.6 kB / 443.1 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.4319, allocations: 7.656 kB / 443.1 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.432, allocations: 11 kB / 443.1 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.432, allocations: 7.938 kB / 443.1 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.4324, allocations: 216.1 kB / 443.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.4341, allocations: 1.19 MB / 444.5 MB, free: 35.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.4345, allocations: 206.6 kB / 444.7 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.4347, allocations: 103.9 kB / 444.9 MB, free: 35.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.4347, allocations: 6.812 kB / 444.9 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.4348, allocations: 41.3 kB / 444.9 MB, free: 35.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.424e-06/0.4348, allocations: 3.984 kB / 444.9 MB, free: 35 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006371/0.4354, allocations: 323.8 kB / 445.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.4355, allocations: 54.12 kB / 445.3 MB, free: 34.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.4358, allocations: 288.9 kB / 445.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.4358, allocations: 29.7 kB / 445.6 MB, free: 34.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.57e-05/0.436, allocations: 173.4 kB / 445.8 MB, free: 34.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/0.436, allocations: 98.38 kB / 445.8 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.436, allocations: 4 kB / 445.9 MB, free: 34.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.4361, allocations: 340.5 kB / 446.2 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.4363, allocations: 96.56 kB / 446.3 MB, free: 34.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.4365, allocations: 185.2 kB / 446.5 MB, free: 33.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.4368, allocations: 120 kB / 446.6 MB, free: 33.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4368, allocations: 3.438 kB / 446.6 MB, free: 33.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000513/0.4373, allocations: 363 kB / 446.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4373, allocations: 9.688 kB / 446.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.4373, allocations: 3.031 kB / 446.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.4374, allocations: 5.781 kB / 447 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.4379, allocations: 99.05 kB / 447 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.4379, allocations: 13.48 kB / 447.1 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.4381, allocations: 61.33 kB / 447.1 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.4382, allocations: 19.55 kB / 447.1 MB, free: 33.62 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: y_filter.y:VARIABLE(flow=false start = y_filter.y_start fixed = true ) "Connector of Real output signal" type: Real 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: 11 * Number of states: 0 () * Number of discrete variables: 9 (PI_1.HIsat,PI_1.LOsat,PI_2.HIsat,PI_2.LOsat,not1.y,PI_2.iNoDec,PI_2.iNoInc,PI_1.iNoDec,PI_1.iNoInc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.4384, allocations: 155.6 kB / 447.3 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.4384, allocations: 21.81 kB / 447.3 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.4389, allocations: 296.2 kB / 447.6 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4389, allocations: 2.969 kB / 447.6 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4389, allocations: 6.781 kB / 447.6 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.4389, allocations: 2.906 kB / 447.6 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.4394, allocations: 373.9 kB / 448 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4395, allocations: 0 / 448 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.4398, allocations: 68.12 kB / 448 MB, free: 33.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4398, allocations: 7.875 kB / 448.1 MB, free: 33.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.4398, allocations: 11.08 kB / 448.1 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4399, allocations: 3.984 kB / 448.1 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4399, allocations: 0 / 448.1 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/0.4405, allocations: 491.2 kB / 448.5 MB, free: 32.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.4405, allocations: 105.6 kB / 448.7 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.4406, allocations: 6.875 kB / 448.7 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.4408, allocations: 28.31 kB / 448.7 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.4409, allocations: 22.36 kB / 448.7 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.4409, allocations: 10.09 kB / 448.7 MB, free: 32.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002579/0.4412, allocations: 201.3 kB / 448.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4412, allocations: 0 / 448.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000309/0.4415, allocations: 55.88 kB / 449 MB, free: 32.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (PI_1.xfb,PI_1.xBias,PI_1.u,PI_1.csfil,PI_2.xfb,PI_2.xBias,PI_2.u,PI_2.csfil,Process.x_scaled[1],Process.x_scaled[2],y_filter.y) * Number of discrete variables: 5 (PI_1.HIsat,PI_1.LOsat,PI_2.HIsat,PI_2.LOsat,not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/0.4416, allocations: 112.1 kB / 449.1 MB, free: 32.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000479/0.4421, allocations: 272.3 kB / 449.3 MB, free: 32.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4421, allocations: 0 / 449.3 MB, free: 32.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.4423, allocations: 131.6 kB / 449.5 MB, free: 32.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.4427, allocations: 38.14 kB / 449.5 MB, free: 32.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.4439, allocations: 0.8255 MB / 450.3 MB, free: 31.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.4442, allocations: 0.7888 MB / 451.1 MB, free: 31.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.4443, allocations: 26.16 kB / 451.2 MB, free: 31.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4443, allocations: 0 / 451.2 MB, free: 31.07 MB / 350.1 MB Notification: Performance of Templates: time 0.005421/0.4497, allocations: 3.41 MB / 454.6 MB, free: 30.8 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.makefile make -j1 -f AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.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.Two_PIs_trackingCalcHelperMain.o OMCppAES_AES.Coursework.Tuning_brushup.Two_PIs_trackingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Tuning_brushup.Two_PIs_trackingCalcHelperMain.o] Error 1