Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Smith_predictor.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.Smith_predictor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") translateModel(AES.Coursework.Typical_control_structures.Smith_predictor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008715/0.0008718, 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.001151/0.001151, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.507/1.507, allocations: 223.2 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.3032/0.3032, allocations: 22.36 MB / 314.1 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 8 kB / 382.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3904, allocations: 55.97 MB / 438.5 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.001724/0.3922, allocations: 1.483 MB / 440 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000844/0.393, allocations: 0.5795 MB / 440.6 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.796e-05/0.3931, allocations: 0 / 440.6 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.3934, allocations: 45.28 kB / 440.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.3936, allocations: 52.08 kB / 440.7 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.3939, allocations: 109.3 kB / 440.8 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.3942, allocations: 262.6 kB / 441.1 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3943, allocations: 41.44 kB / 441.1 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.3944, allocations: 131.8 kB / 441.2 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.3946, allocations: 152.2 kB / 441.4 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.3947, allocations: 14.22 kB / 441.4 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.684e-05/0.3947, allocations: 8.781 kB / 441.4 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.3948, allocations: 77.41 kB / 441.5 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.3949, allocations: 53.42 kB / 441.5 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.395, allocations: 166.1 kB / 441.7 MB, free: 37.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.395, allocations: 0 / 441.7 MB, free: 37.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.395, allocations: 0 / 441.7 MB, free: 37.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3951, allocations: 4 kB / 441.7 MB, free: 37.33 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001363/0.3964, allocations: 0.6508 MB / 442.4 MB, free: 36.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3965, allocations: 9.094 kB / 442.4 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.3965, allocations: 27.94 kB / 442.4 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000667/0.3972, allocations: 355.9 kB / 442.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3972, allocations: 9.906 kB / 442.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.3973, allocations: 20.86 kB / 442.8 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.3976, allocations: 189.9 kB / 443 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3976, allocations: 0 / 443 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.3976, allocations: 7.953 kB / 443 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3976, allocations: 2.844 kB / 443 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.3979, allocations: 172.2 kB / 443.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009125/0.3988, allocations: 0.6516 MB / 443.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.3992, allocations: 224.6 kB / 444 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.3993, allocations: 108.8 kB / 444.1 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.3994, allocations: 14.38 kB / 444.1 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.3994, allocations: 37.72 kB / 444.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.103e-06/0.3994, allocations: 0 / 444.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001247/0.4006, allocations: 0.5856 MB / 444.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.4007, allocations: 54.06 kB / 444.8 MB, free: 35.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006131/0.4013, allocations: 347.2 kB / 445.1 MB, free: 35.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.4013, allocations: 32.2 kB / 445.2 MB, free: 35.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.4014, allocations: 144.6 kB / 445.3 MB, free: 35.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.4015, allocations: 71.38 kB / 445.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.4015, allocations: 4 kB / 445.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.4016, allocations: 340.8 kB / 445.7 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.4017, allocations: 90.77 kB / 445.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.4019, allocations: 93.11 kB / 445.9 MB, free: 34.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.402, allocations: 106.1 kB / 446 MB, free: 34.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.402, allocations: 4 kB / 446 MB, free: 34.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006414/0.4027, allocations: 415.8 kB / 446.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4027, allocations: 6.875 kB / 446.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4027, allocations: 3.938 kB / 446.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003353/0.4031, allocations: 109.5 kB / 446.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.4032, allocations: 29.3 kB / 446.6 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.4049, allocations: 1.914 MB / 448.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.4052, allocations: 57.47 kB / 448.5 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.4052, allocations: 10.84 kB / 448.5 MB, free: 32.94 MB / 350.1 MB Warning: Assuming fixed start value for the following 6 variables: K.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Mr.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Pr.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Pr.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Mr.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 (20): * Single equations (assignments): 19 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.4054, allocations: 159.4 kB / 448.7 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.4055, allocations: 27.11 kB / 448.7 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.095e-05/0.4056, allocations: 43.73 kB / 448.8 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4056, allocations: 3.031 kB / 448.8 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4056, allocations: 0 / 448.8 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4056, allocations: 3.188 kB / 448.8 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.4059, allocations: 345 kB / 449.1 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4059, allocations: 0 / 449.1 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.4061, allocations: 33 kB / 449.1 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.4063, allocations: 77.03 kB / 449.2 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.4063, allocations: 7.047 kB / 449.2 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.4075, allocations: 1.684 MB / 450.9 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4075, allocations: 0 / 450.9 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007674/0.4083, allocations: 0.5341 MB / 451.4 MB, free: 30.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.4084, allocations: 103 kB / 451.5 MB, free: 30.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.4084, allocations: 8.469 kB / 451.5 MB, free: 30.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.4087, allocations: 51.17 kB / 451.6 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.4088, allocations: 11.84 kB / 451.6 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.4088, allocations: 11.3 kB / 451.6 MB, free: 30.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000548/0.4094, allocations: 273.2 kB / 451.9 MB, free: 30.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4094, allocations: 0 / 451.9 MB, free: 30.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.4098, allocations: 64.72 kB / 451.9 MB, free: 30.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Pr.x_scaled[1],Pr.x_scaled[2],Mr.x_scaled[1],Mr.x_scaled[2],K.x_scaled[1],K.x_scaled[2]) * 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 (17): * Single equations (assignments): 16 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001097/0.4099, allocations: 106.4 kB / 452.1 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006271/0.4105, allocations: 387.1 kB / 452.4 MB, free: 30.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4105, allocations: 0 / 452.4 MB, free: 30.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.4109, allocations: 253.9 kB / 452.7 MB, free: 29.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.4113, allocations: 39.34 kB / 452.7 MB, free: 29.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009437/0.4122, allocations: 0.6782 MB / 453.4 MB, free: 29.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.4124, allocations: 0.7784 MB / 454.2 MB, free: 28.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.4125, allocations: 24.88 kB / 454.2 MB, free: 28.83 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4125, allocations: 0 / 454.2 MB, free: 28.83 MB / 350.1 MB Notification: Performance of Templates: time 0.005781/0.4183, allocations: 3.783 MB / 458 MB, free: 28.58 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.Smith_predictor.makefile make -j1 -f AES_AES.Coursework.Typical_control_structures.Smith_predictor.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.Smith_predictorCalcHelperMain.o OMCppAES_AES.Coursework.Typical_control_structures.Smith_predictorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Typical_control_structures.Smith_predictorCalcHelperMain.o] Error 1