Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.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_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 102.7 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.001398/0.001398, 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.526/1.526, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.289/0.289, allocations: 22.36 MB / 314.1 MB, free: 13.18 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003313, allocations: 8 kB / 382.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3907, allocations: 55.97 MB / 438.5 MB, free: 39.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.001906/0.3926, allocations: 1.596 MB / 440.1 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3937, allocations: 0.6384 MB / 440.8 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3938, allocations: 3.062 kB / 440.8 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.3941, allocations: 57.11 kB / 440.8 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.3944, allocations: 89.08 kB / 440.9 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.3946, allocations: 124.9 kB / 441 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.3951, allocations: 362.3 kB / 441.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.3953, allocations: 44.61 kB / 441.4 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.3955, allocations: 179.8 kB / 441.6 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.3958, allocations: 180.8 kB / 441.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.3959, allocations: 7.406 kB / 441.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.337e-05/0.3959, allocations: 14.56 kB / 441.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.396, allocations: 80.92 kB / 441.9 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.194e-05/0.3961, allocations: 56.83 kB / 442 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.3963, allocations: 196.5 kB / 442.1 MB, free: 37.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3963, allocations: 0 / 442.1 MB, free: 37.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3963, allocations: 0 / 442.1 MB, free: 37.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.3963, allocations: 0 / 442.1 MB, free: 37.35 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.001559/0.3979, allocations: 0.7128 MB / 442.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3979, allocations: 10.97 kB / 442.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.398, allocations: 31.31 kB / 442.9 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007585/0.3987, allocations: 403.7 kB / 443.3 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3988, allocations: 9.938 kB / 443.3 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.3988, allocations: 22.59 kB / 443.3 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.3991, allocations: 178.8 kB / 443.5 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.3991, allocations: 2.594 kB / 443.5 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.3992, allocations: 7.953 kB / 443.5 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3992, allocations: 3.188 kB / 443.5 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.3995, allocations: 180.1 kB / 443.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.4005, allocations: 0.6524 MB / 444.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.401, allocations: 248.1 kB / 444.6 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.4012, allocations: 106.8 kB / 444.7 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.4013, allocations: 3.25 kB / 444.7 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.4013, allocations: 30.75 kB / 444.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 3.466e-06/0.4013, allocations: 0 / 444.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005865/0.4019, allocations: 353.5 kB / 445.1 MB, free: 35.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.4019, allocations: 55.25 kB / 445.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007036/0.4026, allocations: 418.8 kB / 445.5 MB, free: 35.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.4027, allocations: 29.7 kB / 445.6 MB, free: 35.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.4028, allocations: 159.3 kB / 445.7 MB, free: 35.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.4028, allocations: 81.47 kB / 445.8 MB, free: 35.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.4029, allocations: 0 / 445.8 MB, free: 35.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.403, allocations: 349.3 kB / 446.1 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.4031, allocations: 81.95 kB / 446.2 MB, free: 34.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.4032, allocations: 91.42 kB / 446.3 MB, free: 34.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.4034, allocations: 109.1 kB / 446.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4034, allocations: 0 / 446.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004293/0.4039, allocations: 307.7 kB / 446.7 MB, free: 34.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4039, allocations: 7.594 kB / 446.7 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4039, allocations: 0 / 446.7 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4039, allocations: 2.875 kB / 446.7 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.4042, allocations: 49.19 kB / 446.8 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4042, allocations: 2.844 kB / 446.8 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.4045, allocations: 62.48 kB / 446.8 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.4045, allocations: 9.594 kB / 446.8 MB, free: 34.7 MB / 350.1 MB Warning: Assuming fixed start value for the following 7 variables: FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] FA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real 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: 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 (28): * Single equations (assignments): 28 * 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.0001947/0.4047, allocations: 175.9 kB / 447 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.4048, allocations: 25.47 kB / 447 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00052/0.4053, allocations: 312.7 kB / 447.3 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4053, allocations: 7.125 kB / 447.3 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4053, allocations: 4 kB / 447.4 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4053, allocations: 0 / 447.4 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.4057, allocations: 359.5 kB / 447.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4057, allocations: 0 / 447.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.4059, allocations: 39.41 kB / 447.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.406, allocations: 0 / 447.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.406, allocations: 7.969 kB / 447.8 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.406, allocations: 7.922 kB / 447.8 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.406, allocations: 3.062 kB / 447.8 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005728/0.4066, allocations: 498.7 kB / 448.2 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.4067, allocations: 118.3 kB / 448.4 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.4067, allocations: 6.594 kB / 448.4 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.407, allocations: 52.2 kB / 448.4 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.4071, allocations: 21.5 kB / 448.4 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.4071, allocations: 5.938 kB / 448.4 MB, free: 33.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006169/0.4078, allocations: 331.4 kB / 448.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4078, allocations: 0 / 448.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.408, allocations: 47.38 kB / 448.8 MB, free: 33.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,FA2.x_scaled[1],FA1.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 (23): * Single equations (assignments): 23 * 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.0001163/0.4082, allocations: 112.2 kB / 448.9 MB, free: 33.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000373/0.4085, allocations: 236.1 kB / 449.2 MB, free: 33.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4086, allocations: 0 / 449.2 MB, free: 33.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.4087, allocations: 117.2 kB / 449.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.4092, allocations: 64.03 kB / 449.3 MB, free: 33.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.4103, allocations: 0.7721 MB / 450.1 MB, free: 32.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.4105, allocations: 0.7871 MB / 450.9 MB, free: 32.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.4107, allocations: 23.88 kB / 450.9 MB, free: 32.21 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4107, allocations: 3.938 kB / 450.9 MB, free: 32.2 MB / 350.1 MB Notification: Performance of Templates: time 0.005329/0.416, allocations: 3.623 MB / 454.5 MB, free: 31.93 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.makefile make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.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_actuation_schemes.SplitRange_equalisingCalcHelperMain.o OMCppAES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalisingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalisingCalcHelperMain.o] Error 1