Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.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.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000852/0.0008518, 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.001307/0.001307, allocations: 174.6 kB / 16.58 MB, free: 6.027 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.517/1.517, allocations: 223.3 MB / 240.6 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2988/0.2988, allocations: 22.36 MB / 314.1 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003485, allocations: 8 kB / 382.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3648, allocations: 55.98 MB / 438.6 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst): time 0.003866/0.3687, allocations: 2.9 MB / 441.5 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3699, allocations: 0.6003 MB / 442.1 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.3701, allocations: 11.12 kB / 442.1 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.3703, allocations: 54.53 kB / 442.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.3706, allocations: 102.4 kB / 442.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.3712, allocations: 220.8 kB / 442.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007691/0.372, allocations: 0.6042 MB / 443 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.3724, allocations: 255.5 kB / 443.3 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.3726, allocations: 185 kB / 443.5 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.3728, allocations: 219.3 kB / 443.7 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.3729, allocations: 22 kB / 443.7 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-05/0.3729, allocations: 23.03 kB / 443.7 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.061e-05/0.373, allocations: 101.7 kB / 443.8 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.546e-05/0.3731, allocations: 117.5 kB / 443.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.3735, allocations: 497.9 kB / 444.4 MB, free: 35.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3736, allocations: 2.844 kB / 444.4 MB, free: 35.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3736, allocations: 4 kB / 444.4 MB, free: 35.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.3736, allocations: 0 / 444.4 MB, free: 35.58 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001163/0.3748, allocations: 0.7813 MB / 445.2 MB, free: 35.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3748, allocations: 8.719 kB / 445.2 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.3749, allocations: 70.09 kB / 445.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.3754, allocations: 372.6 kB / 445.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.3754, allocations: 40.28 kB / 445.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.803e-05/0.3755, allocations: 54.56 kB / 445.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/0.3764, allocations: 0.5832 MB / 446.3 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3765, allocations: 0 / 446.3 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.3765, allocations: 29.92 kB / 446.4 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.3765, allocations: 15.22 kB / 446.4 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.3774, allocations: 459.4 kB / 446.8 MB, free: 34.23 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.3796, allocations: 2.039 MB / 448.9 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000839/0.3805, allocations: 459.1 kB / 449.3 MB, free: 32.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004571/0.3809, allocations: 283.1 kB / 449.6 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.781e-05/0.381, allocations: 6.062 kB / 449.6 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.381, allocations: 42 kB / 449.6 MB, free: 32.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.044e-06/0.381, allocations: 0 / 449.6 MB, free: 32.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.001235/0.3823, allocations: 0.6356 MB / 450.3 MB, free: 32.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.3823, allocations: 134.7 kB / 450.4 MB, free: 32.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.3826, allocations: 280 kB / 450.7 MB, free: 31.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.3826, allocations: 36.02 kB / 450.7 MB, free: 31.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.3828, allocations: 266.9 kB / 451 MB, free: 31.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.3829, allocations: 173.5 kB / 451.1 MB, free: 31.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.3829, allocations: 7.594 kB / 451.1 MB, free: 31.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.383, allocations: 356 kB / 451.5 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.3834, allocations: 176.2 kB / 451.7 MB, free: 31.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.3838, allocations: 266.9 kB / 451.9 MB, free: 30.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.3842, allocations: 210.7 kB / 452.1 MB, free: 30.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3842, allocations: 7.938 kB / 452.1 MB, free: 30.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000857/0.385, allocations: 0.5262 MB / 452.7 MB, free: 30.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.167e-05/0.3851, allocations: 135 kB / 452.8 MB, free: 30.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3851, allocations: 6.562 kB / 452.8 MB, free: 30.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3852, allocations: 2.625 kB / 452.8 MB, free: 30.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.3857, allocations: 126.8 kB / 452.9 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.3857, allocations: 6.625 kB / 452.9 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.386, allocations: 66.33 kB / 453 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.386, allocations: 17.69 kB / 453 MB, free: 30.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.041e-06/0.3861, allocations: 5.25 kB / 453 MB, free: 30.47 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005884/0.3867, allocations: 399.8 kB / 453.4 MB, free: 30.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.3867, allocations: 0 / 453.4 MB, free: 30.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/0.3867, allocations: 3.812 kB / 453.4 MB, free: 30.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.3871, allocations: 109.7 kB / 453.5 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.3871, allocations: 3.656 kB / 453.5 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.3873, allocations: 52.78 kB / 453.6 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.3874, allocations: 18.69 kB / 453.6 MB, free: 30.27 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: Cloc2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cloc1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Ccen.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))) start = 313.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (60): * Single equations (assignments): 60 * 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.0003311/0.3877, allocations: 297.5 kB / 453.9 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.3878, allocations: 41.47 kB / 453.9 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.389, allocations: 0.6263 MB / 454.6 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.389, allocations: 8.078 kB / 454.6 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.389, allocations: 3.984 kB / 454.6 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.389, allocations: 3.281 kB / 454.6 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006197/0.3896, allocations: 0.5951 MB / 455.2 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3896, allocations: 4 kB / 455.2 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.3902, allocations: 142 kB / 455.3 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.3902, allocations: 2.719 kB / 455.3 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.3903, allocations: 21.34 kB / 455.3 MB, free: 29.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3903, allocations: 3.984 kB / 455.3 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3903, allocations: 2.5 kB / 455.3 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.3916, allocations: 0.9088 MB / 456.3 MB, free: 28.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.3917, allocations: 131.5 kB / 456.4 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.3917, allocations: 11 kB / 456.4 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.392, allocations: 41.41 kB / 456.4 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/0.3921, allocations: 44.42 kB / 456.5 MB, free: 28.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.3922, allocations: 16.53 kB / 456.5 MB, free: 28.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.3923, allocations: 191 kB / 456.7 MB, free: 28.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3923, allocations: 11.06 kB / 456.7 MB, free: 28.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006827/0.393, allocations: 234.8 kB / 456.9 MB, free: 28.58 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Ccen.T,Cloc1.T,C1.FO.y,C2.FO.y,Cloc2.T,Cc.FO.y) * 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 (65): * Single equations (assignments): 65 * 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.0001667/0.3932, allocations: 121.6 kB / 457 MB, free: 28.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.3946, allocations: 0.6829 MB / 457.7 MB, free: 28.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3946, allocations: 1.312 kB / 457.7 MB, free: 28.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.3951, allocations: 278.1 kB / 458 MB, free: 28.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.3956, allocations: 80.44 kB / 458.1 MB, free: 28.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.3977, allocations: 1.523 MB / 459.6 MB, free: 27.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.3981, allocations: 0.8732 MB / 460.5 MB, free: 26.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.3983, allocations: 48.45 kB / 460.5 MB, free: 26.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3983, allocations: 0 / 460.5 MB, free: 26.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01233/0.4106, allocations: 5.816 MB / 466.3 MB, free: 25.96 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.makefile make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.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.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirstCalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirstCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirstCalcHelperMain.o] Error 1