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_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.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009357/0.0009356, allocations: 99.12 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.001156/0.001155, allocations: 176.5 kB / 16.58 MB, free: 6.871 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.569/1.569, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2385/0.2385, allocations: 22.36 MB / 314.1 MB, free: 13.06 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003465, allocations: 8 kB / 382.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4048, allocations: 55.97 MB / 438.6 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising): time 0.002626/0.4075, allocations: 2.058 MB / 440.6 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.4087, allocations: 0.7244 MB / 441.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.4088, allocations: 2.906 kB / 441.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.4092, allocations: 46.31 kB / 441.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.4095, allocations: 82.94 kB / 441.5 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.4098, allocations: 131.3 kB / 441.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.4102, allocations: 347.8 kB / 441.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.4104, allocations: 96.88 kB / 442 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.4106, allocations: 125.7 kB / 442.2 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.4108, allocations: 129.5 kB / 442.3 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.4108, allocations: 11.84 kB / 442.3 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.7e-05/0.4109, allocations: 15.56 kB / 442.3 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.411, allocations: 50.19 kB / 442.4 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.411, allocations: 73.83 kB / 442.4 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.4113, allocations: 234.6 kB / 442.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4113, allocations: 0 / 442.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4113, allocations: 0 / 442.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.4113, allocations: 0 / 442.7 MB, free: 36.46 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00112/0.4124, allocations: 0.6137 MB / 443.3 MB, free: 35.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4125, allocations: 13 kB / 443.3 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.4126, allocations: 32.66 kB / 443.3 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.4131, allocations: 328.2 kB / 443.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.4131, allocations: 13 kB / 443.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.4131, allocations: 20.84 kB / 443.7 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/0.4136, allocations: 248.7 kB / 443.9 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.4136, allocations: 3.953 kB / 443.9 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.4136, allocations: 10.97 kB / 443.9 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.4136, allocations: 6.812 kB / 443.9 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.414, allocations: 174.7 kB / 444.1 MB, free: 35.52 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.001347/0.4153, allocations: 1.231 MB / 445.3 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.4157, allocations: 224.5 kB / 445.6 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.4159, allocations: 106.5 kB / 445.7 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.4159, allocations: 7.156 kB / 445.7 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.416, allocations: 30.75 kB / 445.7 MB, free: 34.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.416, allocations: 0 / 445.7 MB, free: 34.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.000589/0.4166, allocations: 304 kB / 446 MB, free: 34.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.4166, allocations: 88.86 kB / 446.1 MB, free: 34.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.417, allocations: 295.1 kB / 446.4 MB, free: 33.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.4171, allocations: 29.7 kB / 446.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.34e-05/0.4172, allocations: 169.4 kB / 446.6 MB, free: 33.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.4172, allocations: 82.86 kB / 446.6 MB, free: 33.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.4173, allocations: 0 / 446.6 MB, free: 33.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.4173, allocations: 344.9 kB / 447 MB, free: 33.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.4175, allocations: 72.7 kB / 447 MB, free: 33.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.4177, allocations: 115.4 kB / 447.2 MB, free: 33.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.4178, allocations: 86.16 kB / 447.2 MB, free: 33.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4178, allocations: 0 / 447.2 MB, free: 33.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004071/0.4183, allocations: 267.5 kB / 447.5 MB, free: 33.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.4183, allocations: 103.6 kB / 447.6 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4183, allocations: 3.281 kB / 447.6 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.4184, allocations: 2.812 kB / 447.6 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.4186, allocations: 53 kB / 447.7 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4187, allocations: 0 / 447.7 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.4189, allocations: 46.38 kB / 447.7 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.4189, allocations: 5.812 kB / 447.7 MB, free: 32.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.4189, allocations: 7.016 kB / 447.7 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002778/0.4192, allocations: 185.6 kB / 447.9 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-06/0.4192, allocations: 0 / 447.9 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-06/0.4192, allocations: 3.062 kB / 447.9 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.4194, allocations: 49.17 kB / 448 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.4194, allocations: 3 kB / 448 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.4196, allocations: 33.7 kB / 448 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.4197, allocations: 6.734 kB / 448 MB, free: 32.87 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 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 FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (27): * Single equations (assignments): 27 * 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.0002479/0.4199, allocations: 243.6 kB / 448.2 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.42, allocations: 28.7 kB / 448.3 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.4205, allocations: 278 kB / 448.5 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.4205, allocations: 2.562 kB / 448.5 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4205, allocations: 0 / 448.5 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.4205, allocations: 3.188 kB / 448.5 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.4208, allocations: 346.1 kB / 448.9 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4209, allocations: 2.844 kB / 448.9 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.4211, allocations: 54.38 kB / 448.9 MB, free: 32.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4211, allocations: 6.844 kB / 448.9 MB, free: 32.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.4212, allocations: 10.95 kB / 449 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4212, allocations: 0 / 449 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4212, allocations: 0 / 449 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/0.4217, allocations: 443.4 kB / 449.4 MB, free: 31.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.4218, allocations: 105.2 kB / 449.5 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.4219, allocations: 6.781 kB / 449.5 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.4221, allocations: 35.25 kB / 449.5 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.4222, allocations: 19.84 kB / 449.5 MB, free: 31.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.4222, allocations: 9.312 kB / 449.6 MB, free: 31.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003308/0.4225, allocations: 222.7 kB / 449.8 MB, free: 31.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4225, allocations: 0 / 449.8 MB, free: 31.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003915/0.4229, allocations: 101.2 kB / 449.9 MB, free: 31.72 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (FA1.x_scaled[1],Act2.y,Act1.y,Cap.T,CT.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 (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.0001156/0.423, allocations: 115 kB / 450 MB, free: 31.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005212/0.4236, allocations: 306 kB / 450.3 MB, free: 31.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4236, allocations: 0 / 450.3 MB, free: 31.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.4238, allocations: 107.7 kB / 450.4 MB, free: 31.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.4242, allocations: 61.12 kB / 450.5 MB, free: 31.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.4256, allocations: 0.8255 MB / 451.3 MB, free: 30.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.4258, allocations: 0.772 MB / 452 MB, free: 30.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.4259, allocations: 25.8 kB / 452.1 MB, free: 30.26 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4259, allocations: 0 / 452.1 MB, free: 30.26 MB / 350.1 MB Notification: Performance of Templates: time 0.00511/0.431, allocations: 3.356 MB / 455.4 MB, free: 29.98 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.makefile make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_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.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalisingCalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalisingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalisingCalcHelperMain.o] Error 1