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_01_gen.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_01_gen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen") translateModel(AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 98.97 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.001765/0.001765, allocations: 175.2 kB / 16.58 MB, free: 6.418 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.543/1.543, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2798/0.2798, allocations: 22.36 MB / 314.1 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 12 kB / 382.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3954, allocations: 55.98 MB / 438.6 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen): time 0.001761/0.3972, allocations: 1.344 MB / 439.9 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.3993, allocations: 1.7 MB / 441.6 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.3994, allocations: 9.375 kB / 441.6 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004845/0.3999, allocations: 173.3 kB / 441.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.4003, allocations: 221.5 kB / 442 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.4009, allocations: 348.9 kB / 442.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008483/0.4017, allocations: 0.9763 MB / 443.3 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.4019, allocations: 100.4 kB / 443.4 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.4024, allocations: 0.5133 MB / 443.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/0.403, allocations: 0.4948 MB / 444.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.294e-05/0.4031, allocations: 25.19 kB / 444.5 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.4032, allocations: 28.31 kB / 444.5 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.4034, allocations: 221.4 kB / 444.7 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.799e-05/0.4035, allocations: 103.3 kB / 444.8 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.4038, allocations: 482 kB / 445.3 MB, free: 35.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.4039, allocations: 4 kB / 445.3 MB, free: 35.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4039, allocations: 3.938 kB / 445.3 MB, free: 35.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.4039, allocations: 4 kB / 445.3 MB, free: 35.74 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.003584/0.4075, allocations: 1.435 MB / 446.7 MB, free: 35.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.518e-05/0.4075, allocations: 8.906 kB / 446.7 MB, free: 35.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.4078, allocations: 74.03 kB / 446.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.4098, allocations: 0.8805 MB / 447.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.4099, allocations: 19.97 kB / 447.7 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.02e-05/0.41, allocations: 34.62 kB / 447.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/0.4106, allocations: 370.5 kB / 448.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.4106, allocations: 0 / 448.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.4107, allocations: 15.77 kB / 448.1 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.4107, allocations: 5.125 kB / 448.1 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/0.4114, allocations: 469.8 kB / 448.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.4136, allocations: 1.265 MB / 449.8 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.4153, allocations: 0.8097 MB / 450.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.4157, allocations: 258.9 kB / 450.9 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/0.4158, allocations: 6.188 kB / 450.9 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.4158, allocations: 38.06 kB / 450.9 MB, free: 33.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.305e-06/0.4158, allocations: 0 / 450.9 MB, free: 33.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002928/0.4188, allocations: 1.504 MB / 452.4 MB, free: 32.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4188, allocations: 63.02 kB / 452.5 MB, free: 32.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/0.421, allocations: 1.045 MB / 453.6 MB, free: 32.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.4211, allocations: 33.02 kB / 453.6 MB, free: 32.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.4213, allocations: 301.4 kB / 453.9 MB, free: 32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.4215, allocations: 180.8 kB / 454.1 MB, free: 31.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.4215, allocations: 7.406 kB / 454.1 MB, free: 31.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.4216, allocations: 323.5 kB / 454.4 MB, free: 31.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.4219, allocations: 216.3 kB / 454.6 MB, free: 31.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.4223, allocations: 224 kB / 454.8 MB, free: 31.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.4228, allocations: 265.5 kB / 455.1 MB, free: 31.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4228, allocations: 5.25 kB / 455.1 MB, free: 31.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001895/0.4247, allocations: 0.8914 MB / 456 MB, free: 30.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.4248, allocations: 7.531 kB / 456 MB, free: 30.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4248, allocations: 0 / 456 MB, free: 30.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007537/0.4256, allocations: 225.8 kB / 456.2 MB, free: 30.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.4259, allocations: 69.7 kB / 456.3 MB, free: 30.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004703/0.4306, allocations: 6.012 MB / 462.3 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.4319, allocations: 188.8 kB / 462.5 MB, free: 25.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.4319, allocations: 14.97 kB / 462.5 MB, free: 25.27 MB / 350.1 MB Warning: Assuming fixed start value for the following 15 variables: Sf4.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] S4.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] P4.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] C4.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] C4.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] C3.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] C3.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] P3.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] S3.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] P2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] C2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] S2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] C1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] P1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] S1.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 (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005375/0.4325, allocations: 250.6 kB / 462.7 MB, free: 25.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.4326, allocations: 72.23 kB / 462.8 MB, free: 25.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.4329, allocations: 107.5 kB / 462.9 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.4329, allocations: 5.156 kB / 462.9 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.037e-05/0.4329, allocations: 3.375 kB / 462.9 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.4329, allocations: 2.203 kB / 462.9 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009465/0.4339, allocations: 0.6436 MB / 463.5 MB, free: 24.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4339, allocations: 0 / 463.5 MB, free: 24.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.4342, allocations: 54.02 kB / 463.6 MB, free: 24.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006252/0.4349, allocations: 223.2 kB / 463.8 MB, free: 24.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.4349, allocations: 18.19 kB / 463.8 MB, free: 24.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004579/0.4395, allocations: 5.997 MB / 469.8 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4395, allocations: 0 / 469.8 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.442, allocations: 1.188 MB / 471 MB, free: 18.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.4424, allocations: 165.9 kB / 471.2 MB, free: 18.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.4425, allocations: 18.45 kB / 471.2 MB, free: 18.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.4436, allocations: 167.4 kB / 471.4 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.4437, allocations: 38.8 kB / 471.4 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.4438, allocations: 18.22 kB / 471.4 MB, free: 18.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00258/0.4464, allocations: 0.8359 MB / 472.3 MB, free: 18.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.4464, allocations: 0 / 472.3 MB, free: 18.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001002/0.4474, allocations: 146 kB / 472.4 MB, free: 18.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (P1.x_scaled[1],S1.x_scaled[1],C1.x_scaled[1],S2.x_scaled[1],C2.x_scaled[1],P2.x_scaled[1],S3.x_scaled[1],P3.x_scaled[1],C3.x_scaled[1],C3.x_scaled[2],C4.x_scaled[1],C4.x_scaled[2],P4.x_scaled[1],S4.x_scaled[1],Sf4.x_scaled[1]) * 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 (36): * Single equations (assignments): 32 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002413/0.4477, allocations: 127.6 kB / 472.5 MB, free: 17.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.4499, allocations: 1.062 MB / 473.6 MB, free: 17.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4499, allocations: 0 / 473.6 MB, free: 17.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.4511, allocations: 0.767 MB / 474.3 MB, free: 16.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009207/0.452, allocations: 127.5 kB / 474.5 MB, free: 16.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.4559, allocations: 1.723 MB / 476.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.4569, allocations: 0.9852 MB / 477.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.4572, allocations: 43.73 kB / 477.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of SimCode: time 1.643e-06/0.4572, allocations: 0 / 477.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of Templates: time 0.03093/0.4882, allocations: 16.98 MB / 494.2 MB, free: 4.012 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen.makefile make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen.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_01_genCalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_genCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_genCalcHelperMain.o] Error 1