Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.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_electrical_thermal_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control") translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 99.98 kB / 15.71 MB, free: 452 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.001535/0.001534, allocations: 179.7 kB / 16.58 MB, free: 6.422 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.574/1.574, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2883/0.2883, allocations: 22.36 MB / 314.1 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004264, allocations: 15.94 kB / 382.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4344, allocations: 55.99 MB / 438.6 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.003144/0.4376, allocations: 2.701 MB / 441.3 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.439, allocations: 0.8255 MB / 442.1 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.4392, allocations: 12.31 kB / 442.1 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.4394, allocations: 46.27 kB / 442.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.4397, allocations: 92.22 kB / 442.2 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.44, allocations: 135.5 kB / 442.4 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000386/0.4404, allocations: 419.6 kB / 442.8 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.4407, allocations: 161.3 kB / 442.9 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.4408, allocations: 121.3 kB / 443.1 MB, free: 36.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.441, allocations: 142.2 kB / 443.2 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.4411, allocations: 13.44 kB / 443.2 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.055e-05/0.4411, allocations: 15.72 kB / 443.2 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.4411, allocations: 64.42 kB / 443.3 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.4412, allocations: 89.36 kB / 443.4 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.4415, allocations: 328.2 kB / 443.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.4415, allocations: 2.75 kB / 443.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.4415, allocations: 0 / 443.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4415, allocations: 3.938 kB / 443.7 MB, free: 35.98 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0008454/0.4424, allocations: 0.6241 MB / 444.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4424, allocations: 9.438 kB / 444.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.708e-05/0.4425, allocations: 42.59 kB / 444.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.4429, allocations: 311.3 kB / 444.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.4429, allocations: 23.22 kB / 444.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.443, allocations: 36.22 kB / 444.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005877/0.4436, allocations: 377.3 kB / 445.1 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.4436, allocations: 3.953 kB / 445.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.4436, allocations: 14.91 kB / 445.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.4437, allocations: 8.406 kB / 445.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.4441, allocations: 259.3 kB / 445.4 MB, free: 34.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.4457, allocations: 1.318 MB / 446.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.4464, allocations: 299.1 kB / 447 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.4466, allocations: 124.6 kB / 447.1 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.4466, allocations: 6.688 kB / 447.1 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.4467, allocations: 38.73 kB / 447.2 MB, free: 33.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.362e-06/0.4467, allocations: 0 / 447.2 MB, free: 33.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006549/0.4473, allocations: 348 kB / 447.5 MB, free: 33.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.4474, allocations: 79.8 kB / 447.6 MB, free: 33.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.4476, allocations: 264.2 kB / 447.8 MB, free: 33.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.4476, allocations: 29.7 kB / 447.9 MB, free: 33.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.4478, allocations: 218.2 kB / 448.1 MB, free: 33.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/0.4478, allocations: 95.58 kB / 448.2 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.4479, allocations: 10.91 kB / 448.2 MB, free: 33.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.448, allocations: 335.5 kB / 448.5 MB, free: 32.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.4481, allocations: 88 kB / 448.6 MB, free: 32.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.4483, allocations: 149.8 kB / 448.7 MB, free: 32.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.4485, allocations: 105 kB / 448.8 MB, free: 32.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4486, allocations: 4.031 kB / 448.8 MB, free: 32.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004478/0.449, allocations: 300.5 kB / 449.1 MB, free: 32.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/0.4491, allocations: 145.6 kB / 449.3 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4491, allocations: 6.391 kB / 449.3 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4491, allocations: 6.891 kB / 449.3 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.4494, allocations: 68.02 kB / 449.4 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.4494, allocations: 6.016 kB / 449.4 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.4496, allocations: 36.56 kB / 449.4 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.4496, allocations: 10.03 kB / 449.4 MB, free: 32.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.4496, allocations: 6 kB / 449.4 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003243/0.4499, allocations: 222.4 kB / 449.6 MB, free: 32.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.45, allocations: 6.75 kB / 449.6 MB, free: 32.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/0.45, allocations: 2.594 kB / 449.6 MB, free: 32.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.4502, allocations: 69.2 kB / 449.7 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.4502, allocations: 3.156 kB / 449.7 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.4504, allocations: 29.78 kB / 449.7 MB, free: 32.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.4504, allocations: 8.188 kB / 449.8 MB, free: 32.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001735/0.4506, allocations: 237.8 kB / 450 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.4506, allocations: 32.28 kB / 450 MB, free: 31.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.4511, allocations: 277.5 kB / 450.3 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4511, allocations: 2.625 kB / 450.3 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4511, allocations: 7.984 kB / 450.3 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.4512, allocations: 6.094 kB / 450.3 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.4516, allocations: 403.5 kB / 450.7 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4516, allocations: 0 / 450.7 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.4518, allocations: 60.88 kB / 450.8 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4519, allocations: 0 / 450.8 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.4519, allocations: 7.25 kB / 450.8 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4519, allocations: 3.656 kB / 450.8 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4519, allocations: 0 / 450.8 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/0.4525, allocations: 484.5 kB / 451.2 MB, free: 31.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.4526, allocations: 126.6 kB / 451.4 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.4527, allocations: 8 kB / 451.4 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.4529, allocations: 20.66 kB / 451.4 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.4529, allocations: 18.42 kB / 451.4 MB, free: 31.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.4529, allocations: 10.41 kB / 451.4 MB, free: 31.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.4531, allocations: 185.5 kB / 451.6 MB, free: 30.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4531, allocations: 3.312 kB / 451.6 MB, free: 30.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004705/0.4536, allocations: 146.4 kB / 451.7 MB, free: 30.85 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Cbody.T,PID.I.y,Ccont.T) * 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 (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 Backend phase and start with SimCode phase: time 0.0001102/0.4537, allocations: 103.3 kB / 451.8 MB, free: 30.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006048/0.4543, allocations: 351.2 kB / 452.2 MB, free: 30.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4543, allocations: 4.062 kB / 452.2 MB, free: 30.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.4545, allocations: 110.1 kB / 452.3 MB, free: 30.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.455, allocations: 67.72 kB / 452.4 MB, free: 30.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.4563, allocations: 0.9669 MB / 453.3 MB, free: 29.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.4566, allocations: 0.7915 MB / 454.1 MB, free: 29.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.4567, allocations: 23.5 kB / 454.2 MB, free: 29.25 MB / 350.1 MB Notification: Performance of SimCode: time 1.954e-06/0.4567, allocations: 0 / 454.2 MB, free: 29.25 MB / 350.1 MB Notification: Performance of Templates: time 0.006263/0.4629, allocations: 3.868 MB / 458 MB, free: 28.86 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.makefile make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.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_electrical_thermal_controlCalcHelperMain.o OMCppAES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_controlCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_controlCalcHelperMain.o] Error 1