Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation.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.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") translateModel(AES.Coursework.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 100.8 kB / 15.71 MB, free: 456 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.002069/0.002069, allocations: 174.6 kB / 16.58 MB, free: 6.859 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.64/1.64, allocations: 223.3 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.2484/0.2484, allocations: 22.35 MB / 314.1 MB, free: 13.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003808, allocations: 12 kB / 382.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3923, allocations: 55.98 MB / 438.6 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.00196/0.3943, allocations: 1.562 MB / 440.1 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009099/0.3953, allocations: 0.564 MB / 440.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3954, allocations: 3.938 kB / 440.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.3957, allocations: 42.58 kB / 440.7 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.3959, allocations: 35.58 kB / 440.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.3961, allocations: 91.19 kB / 440.8 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.3964, allocations: 259.5 kB / 441.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3965, allocations: 45.98 kB / 441.1 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.3967, allocations: 114.7 kB / 441.3 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.3969, allocations: 124.5 kB / 441.4 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.3969, allocations: 7.781 kB / 441.4 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.648e-05/0.3969, allocations: 7.688 kB / 441.4 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/0.397, allocations: 41.86 kB / 441.4 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.3971, allocations: 56.27 kB / 441.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.3972, allocations: 141.5 kB / 441.6 MB, free: 37.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3972, allocations: 0 / 441.6 MB, free: 37.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3972, allocations: 0 / 441.6 MB, free: 37.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3973, allocations: 0 / 441.6 MB, free: 37.43 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001084/0.3983, allocations: 0.5639 MB / 442.2 MB, free: 36.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3984, allocations: 10.12 kB / 442.2 MB, free: 36.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.3985, allocations: 23.38 kB / 442.2 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.3989, allocations: 305.8 kB / 442.5 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.399, allocations: 17.62 kB / 442.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.399, allocations: 22.31 kB / 442.6 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.3994, allocations: 194.7 kB / 442.8 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3994, allocations: 0 / 442.8 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.3994, allocations: 10.48 kB / 442.8 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3994, allocations: 2.562 kB / 442.8 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.3997, allocations: 158.1 kB / 442.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009231/0.4006, allocations: 0.7424 MB / 443.7 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.4011, allocations: 218.1 kB / 443.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.4012, allocations: 82.62 kB / 444 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.4013, allocations: 7.375 kB / 444 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.4013, allocations: 38.52 kB / 444 MB, free: 35.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.4013, allocations: 0 / 444 MB, free: 35.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005045/0.4018, allocations: 262.8 kB / 444.3 MB, free: 35.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.4019, allocations: 58.03 kB / 444.3 MB, free: 35.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.4023, allocations: 293.4 kB / 444.6 MB, free: 35.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.4023, allocations: 29.7 kB / 444.6 MB, free: 35.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.4024, allocations: 140.5 kB / 444.8 MB, free: 35.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/0.4025, allocations: 74.06 kB / 444.8 MB, free: 35.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.4025, allocations: 10.56 kB / 444.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.618e-05/0.4026, allocations: 334 kB / 445.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.4027, allocations: 76.59 kB / 445.3 MB, free: 34.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.4029, allocations: 125.1 kB / 445.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.4031, allocations: 92.55 kB / 445.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4031, allocations: 0 / 445.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004219/0.4035, allocations: 278.9 kB / 445.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4035, allocations: 9.672 kB / 445.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4036, allocations: 0 / 445.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4036, allocations: 2.906 kB / 445.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.4038, allocations: 63.31 kB / 445.8 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.4039, allocations: 10.5 kB / 445.8 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.4041, allocations: 49.81 kB / 445.9 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.4041, allocations: 8.594 kB / 445.9 MB, free: 34.64 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: PI.xfb:VARIABLE(fixed = true ) type: Real P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] C.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (PI.HIsat,PI.LOsat,PI.iNoDec,PI.iNoInc,PI.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001796/0.4043, allocations: 158.8 kB / 446 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.4043, allocations: 23.16 kB / 446.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.4048, allocations: 244.4 kB / 446.3 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.4048, allocations: 2.938 kB / 446.3 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4048, allocations: 0 / 446.3 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4048, allocations: 0 / 446.3 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.4051, allocations: 296.6 kB / 446.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4051, allocations: 0 / 446.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.4054, allocations: 41.23 kB / 446.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4054, allocations: 2.875 kB / 446.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.4054, allocations: 12 kB / 446.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.4054, allocations: 6.922 kB / 446.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4054, allocations: 0 / 446.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/0.406, allocations: 404 kB / 447 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.4061, allocations: 105.4 kB / 447.1 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.4061, allocations: 3.188 kB / 447.1 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.4064, allocations: 36.67 kB / 447.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.4065, allocations: 19.94 kB / 447.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4065, allocations: 5.344 kB / 447.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003548/0.4068, allocations: 224.5 kB / 447.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.4068, allocations: 0 / 447.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.4071, allocations: 40.53 kB / 447.5 MB, free: 33.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (M.y,C.x_scaled[1],P.x_scaled[1],PI.xfb,PI.xBias,PI.u,PI.csfil) * Number of discrete variables: 2 (PI.HIsat,PI.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.0001526/0.4073, allocations: 104.9 kB / 447.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003959/0.4077, allocations: 189.6 kB / 447.8 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4077, allocations: 2.875 kB / 447.8 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.4079, allocations: 101.1 kB / 447.9 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.4082, allocations: 30.38 kB / 447.9 MB, free: 33.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.4093, allocations: 0.6138 MB / 448.5 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.4096, allocations: 0.7596 MB / 449.3 MB, free: 32.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.964e-05/0.4097, allocations: 25.36 kB / 449.3 MB, free: 32.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4097, allocations: 0 / 449.3 MB, free: 32.34 MB / 350.1 MB Notification: Performance of Templates: time 0.0047/0.4144, allocations: 2.758 MB / 452 MB, free: 32.14 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation.makefile make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation.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.Typical_control_structures.FF_compensationCalcHelperMain.o OMCppAES_AES.Coursework.Typical_control_structures.FF_compensationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Typical_control_structures.FF_compensationCalcHelperMain.o] Error 1