Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.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_actuator_split.Actuator_split_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, 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.002104/0.002104, allocations: 175.6 kB / 16.58 MB, free: 6.863 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.499/1.499, allocations: 223.2 MB / 240.6 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2226/0.2226, allocations: 22.36 MB / 314.1 MB, free: 13.18 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003496, allocations: 8 kB / 382.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3958, allocations: 55.98 MB / 438.6 MB, free: 39.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops): time 0.002654/0.3985, allocations: 2.31 MB / 440.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007938/0.3993, allocations: 477 kB / 441.3 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.3995, allocations: 5.812 kB / 441.3 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.97e-05/0.3995, allocations: 28.62 kB / 441.4 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.3998, allocations: 75.34 kB / 441.5 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.4002, allocations: 187.9 kB / 441.6 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004137/0.4006, allocations: 422.2 kB / 442 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.4009, allocations: 158.5 kB / 442.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.4011, allocations: 117.2 kB / 442.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.4012, allocations: 143.7 kB / 442.5 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.4013, allocations: 13.5 kB / 442.5 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.729e-05/0.4013, allocations: 12.06 kB / 442.5 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.4014, allocations: 60.91 kB / 442.5 MB, free: 36.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.4014, allocations: 89.02 kB / 442.6 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.4017, allocations: 333.5 kB / 443 MB, free: 36.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4017, allocations: 0 / 443 MB, free: 36.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4017, allocations: 0 / 443 MB, free: 36.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.4017, allocations: 3.938 kB / 443 MB, free: 36.48 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009058/0.4027, allocations: 0.6517 MB / 443.6 MB, free: 35.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4027, allocations: 12.94 kB / 443.6 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.996e-05/0.4028, allocations: 48.5 kB / 443.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.4031, allocations: 330.4 kB / 444 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.4032, allocations: 23.97 kB / 444 MB, free: 35.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.4032, allocations: 34.06 kB / 444 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/0.4038, allocations: 386.3 kB / 444.4 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.4038, allocations: 2.75 kB / 444.4 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.4039, allocations: 18.39 kB / 444.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.4039, allocations: 7.875 kB / 444.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005441/0.4045, allocations: 293.5 kB / 444.7 MB, free: 35.37 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: Cap.T(start = 293.15, confidence number = 7) * Candidate: Cap.port.T(start = 288.15, confidence number = 8) * Candidate: Gloss.port_b.T(start = 288.15, confidence number = 8) * Candidate: Pa1.port.T(start = 288.15, confidence number = 8) * Candidate: Pa2.port.T(start = 288.15, confidence number = 8) * Candidate: sT.port.T(start = 288.15, confidence number = 8) => Select value from Cap.T(start = 293.15) for variable: Cap.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.4061, allocations: 1.498 MB / 446.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.4066, allocations: 327.5 kB / 446.6 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.4069, allocations: 157.7 kB / 446.7 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.4069, allocations: 13.89 kB / 446.7 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.407, allocations: 38.5 kB / 446.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.913e-06/0.407, allocations: 0 / 446.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008466/0.4078, allocations: 447.2 kB / 447.2 MB, free: 33.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.4079, allocations: 141.4 kB / 447.3 MB, free: 33.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.4081, allocations: 263.3 kB / 447.6 MB, free: 33.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.4081, allocations: 29.7 kB / 447.6 MB, free: 33.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.4083, allocations: 205.1 kB / 447.8 MB, free: 33.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.4084, allocations: 100.3 kB / 447.9 MB, free: 33.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.599e-05/0.4084, allocations: 7 kB / 447.9 MB, free: 33.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.295e-05/0.4085, allocations: 350.7 kB / 448.3 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.4087, allocations: 117.7 kB / 448.4 MB, free: 32.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.409, allocations: 176.9 kB / 448.6 MB, free: 32.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.4093, allocations: 139.9 kB / 448.7 MB, free: 32.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4093, allocations: 0 / 448.7 MB, free: 32.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006261/0.4099, allocations: 376.9 kB / 449.1 MB, free: 32.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.41, allocations: 108 kB / 449.2 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.41, allocations: 0 / 449.2 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.41, allocations: 3.828 kB / 449.2 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.4104, allocations: 77.56 kB / 449.2 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4104, allocations: 2.125 kB / 449.3 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.4106, allocations: 60.67 kB / 449.3 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.4106, allocations: 11.66 kB / 449.3 MB, free: 32.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.4106, allocations: 3.031 kB / 449.3 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003264/0.411, allocations: 220.2 kB / 449.5 MB, free: 32.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.411, allocations: 3.141 kB / 449.5 MB, free: 32.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-06/0.411, allocations: 3.312 kB / 449.5 MB, free: 32.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.4112, allocations: 64.44 kB / 449.6 MB, free: 32.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.4113, allocations: 2.562 kB / 449.6 MB, free: 32.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.4114, allocations: 23.78 kB / 449.6 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.4114, allocations: 8.594 kB / 449.6 MB, free: 32.3 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: Cap.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 Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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.0002846/0.4117, allocations: 248.6 kB / 449.9 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.4118, allocations: 33.2 kB / 449.9 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/0.4125, allocations: 388.9 kB / 450.3 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.4125, allocations: 5.469 kB / 450.3 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4125, allocations: 4 kB / 450.3 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4125, allocations: 3.375 kB / 450.3 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.4129, allocations: 425.8 kB / 450.7 MB, free: 31.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4129, allocations: 0 / 450.7 MB, free: 31.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.4133, allocations: 71.5 kB / 450.8 MB, free: 31.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.4133, allocations: 6.109 kB / 450.8 MB, free: 31.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.4133, allocations: 10.22 kB / 450.8 MB, free: 31.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4133, allocations: 6.188 kB / 450.8 MB, free: 31.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4133, allocations: 4 kB / 450.8 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008799/0.4142, allocations: 0.5901 MB / 451.4 MB, free: 31.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.4143, allocations: 105.1 kB / 451.5 MB, free: 31.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.4143, allocations: 10.67 kB / 451.5 MB, free: 31.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.4145, allocations: 29.2 kB / 451.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.4146, allocations: 19.58 kB / 451.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.4146, allocations: 13.73 kB / 451.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.4148, allocations: 192.7 kB / 451.8 MB, free: 31.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4148, allocations: 2.625 kB / 451.8 MB, free: 31.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004282/0.4152, allocations: 143.3 kB / 451.9 MB, free: 31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Act2.y,Act1.y,Cap.T,CT.FO.y,CA1.FO.y,CA2.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 (31): * Single equations (assignments): 31 * 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.0001144/0.4153, allocations: 113.8 kB / 452 MB, free: 30.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007047/0.4161, allocations: 443.2 kB / 452.5 MB, free: 30.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4161, allocations: 4.125 kB / 452.5 MB, free: 30.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.4163, allocations: 153.1 kB / 452.6 MB, free: 30.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.4168, allocations: 85.52 kB / 452.7 MB, free: 30.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.4183, allocations: 1.025 MB / 453.7 MB, free: 30.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.4185, allocations: 0.8049 MB / 454.5 MB, free: 29.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.4186, allocations: 31.55 kB / 454.6 MB, free: 29.36 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4187, allocations: 0 / 454.6 MB, free: 29.36 MB / 350.1 MB Notification: Performance of Templates: time 0.006976/0.4256, allocations: 4.194 MB / 458.8 MB, free: 29 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.makefile make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.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_actuator_split.Actuator_split_cascadeLoopsCalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoopsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoopsCalcHelperMain.o] Error 1