Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_02_PI.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.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_02_PI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_02_PI") translateModel(AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_02_PI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_02_PI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 102.1 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.001528/0.001528, allocations: 174.6 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.529/1.529, allocations: 223.2 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.2356/0.2356, allocations: 22.36 MB / 314.1 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.000437, allocations: 11.94 kB / 382.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4452, allocations: 55.98 MB / 438.6 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_02_PI): time 0.002318/0.4476, allocations: 1.81 MB / 440.4 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.4489, allocations: 0.7679 MB / 441.1 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.4491, allocations: 3.906 kB / 441.1 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.4495, allocations: 54.2 kB / 441.2 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.4497, allocations: 98.06 kB / 441.3 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.4502, allocations: 196.6 kB / 441.5 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.4507, allocations: 468.2 kB / 441.9 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.4509, allocations: 94 kB / 442 MB, free: 37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.4512, allocations: 202.8 kB / 442.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.4514, allocations: 194 kB / 442.4 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.4515, allocations: 11.5 kB / 442.4 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.641e-05/0.4515, allocations: 15.34 kB / 442.4 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.4516, allocations: 79.73 kB / 442.5 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.4517, allocations: 73.52 kB / 442.6 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.4519, allocations: 276 kB / 442.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.452, allocations: 0 / 442.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.452, allocations: 4 kB / 442.9 MB, free: 36.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.452, allocations: 0 / 442.9 MB, free: 36.69 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00161/0.4536, allocations: 0.7677 MB / 443.6 MB, free: 36.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4536, allocations: 10.67 kB / 443.7 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.836e-05/0.4537, allocations: 41.28 kB / 443.7 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008063/0.4545, allocations: 447.3 kB / 444.1 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.4546, allocations: 13.06 kB / 444.1 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.4546, allocations: 29.31 kB / 444.2 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005119/0.4552, allocations: 288.4 kB / 444.5 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4552, allocations: 0 / 444.5 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.4552, allocations: 14.61 kB / 444.5 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4552, allocations: 9.531 kB / 444.5 MB, free: 35.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005168/0.4558, allocations: 266.6 kB / 444.7 MB, free: 35.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.4571, allocations: 0.829 MB / 445.6 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008549/0.458, allocations: 417.1 kB / 446 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.4582, allocations: 145.5 kB / 446.1 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.4583, allocations: 2.969 kB / 446.1 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.4583, allocations: 38.91 kB / 446.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/0.4583, allocations: 2.906 kB / 446.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.002627/0.461, allocations: 1.07 MB / 447.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.461, allocations: 105.3 kB / 447.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007959/0.4618, allocations: 444.2 kB / 447.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.4619, allocations: 29.7 kB / 447.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.462, allocations: 191 kB / 448 MB, free: 34.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.127e-05/0.4621, allocations: 85.2 kB / 448.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.408e-05/0.4621, allocations: 8 kB / 448.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.4622, allocations: 341.7 kB / 448.4 MB, free: 33.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.4624, allocations: 117.3 kB / 448.5 MB, free: 33.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.4627, allocations: 157.5 kB / 448.7 MB, free: 33.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.4629, allocations: 139.3 kB / 448.8 MB, free: 33.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4629, allocations: 3.953 kB / 448.8 MB, free: 33.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001277/0.4642, allocations: 0.6122 MB / 449.4 MB, free: 33.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.056e-05/0.4643, allocations: 93.06 kB / 449.5 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4643, allocations: 0 / 449.5 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005522/0.4649, allocations: 193 kB / 449.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.465, allocations: 26.59 kB / 449.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003773/0.4688, allocations: 3.523 MB / 453.3 MB, free: 30.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.4692, allocations: 84.52 kB / 453.3 MB, free: 30.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.4693, allocations: 3.406 kB / 453.3 MB, free: 30.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.4693, allocations: 7.188 kB / 453.3 MB, free: 30.17 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006204/0.4699, allocations: 353.8 kB / 453.7 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-06/0.4699, allocations: 0 / 453.7 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.4702, allocations: 116.5 kB / 453.8 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.4703, allocations: 25.31 kB / 453.8 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.4725, allocations: 3.288 MB / 457.1 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.4729, allocations: 68.75 kB / 457.2 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.4729, allocations: 3.812 kB / 457.2 MB, free: 26.93 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: sens_tforS.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] P_tforS.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] sens_tforP.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] P_tforP.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: 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000261/0.4732, allocations: 250.2 kB / 457.4 MB, free: 26.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.4732, allocations: 31.59 kB / 457.5 MB, free: 26.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.61e-05/0.4733, allocations: 51.3 kB / 457.5 MB, free: 26.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4733, allocations: 2.75 kB / 457.5 MB, free: 26.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4733, allocations: 4 kB / 457.5 MB, free: 26.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4733, allocations: 0 / 457.5 MB, free: 26.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.4737, allocations: 392.2 kB / 457.9 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4738, allocations: 3.984 kB / 457.9 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.4739, allocations: 21.78 kB / 457.9 MB, free: 26.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004292/0.4743, allocations: 181.8 kB / 458.1 MB, free: 26.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.4744, allocations: 7.438 kB / 458.1 MB, free: 26.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003067/0.4774, allocations: 3.503 MB / 461.6 MB, free: 23.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4775, allocations: 4.062 kB / 461.6 MB, free: 23.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.4789, allocations: 0.7612 MB / 462.4 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.479, allocations: 121 kB / 462.5 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.479, allocations: 11.17 kB / 462.5 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.4794, allocations: 68.67 kB / 462.6 MB, free: 22.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.4795, allocations: 25.14 kB / 462.6 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.4796, allocations: 3.406 kB / 462.6 MB, free: 22.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006736/0.4802, allocations: 346.3 kB / 462.9 MB, free: 22.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4803, allocations: 0 / 462.9 MB, free: 22.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006734/0.4809, allocations: 135.4 kB / 463.1 MB, free: 22.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (P_tforP.x_scaled[1],sens_tforP.x_scaled[1],P_tforS.x_scaled[1],sens_tforS.x_scaled[1],PI_tuned_for_process.FO.y,PI_tuned_for_sensor.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 (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001402/0.4811, allocations: 105.4 kB / 463.2 MB, free: 22.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.4825, allocations: 0.9399 MB / 464.1 MB, free: 22.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4825, allocations: 0 / 464.1 MB, free: 22.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.483, allocations: 427.7 kB / 464.5 MB, free: 21.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.4835, allocations: 60.48 kB / 464.6 MB, free: 21.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.4849, allocations: 0.8804 MB / 465.5 MB, free: 21.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.4852, allocations: 0.8128 MB / 466.3 MB, free: 20.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.24e-05/0.4853, allocations: 23.53 kB / 466.3 MB, free: 20.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4853, allocations: 0 / 466.3 MB, free: 20.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01273/0.4981, allocations: 7.012 MB / 473.3 MB, free: 19.94 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_02_PI.makefile make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_02_PI.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.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_02_PICalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_02_PICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_02_PICalcHelperMain.o] Error 1