Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.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.ElecSys_generator_models.BoilerFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.BoilerFollows") translateModel(AES.Coursework.ElecSys_generator_models.BoilerFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.BoilerFollows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008655/0.0008657, allocations: 96.38 kB / 15.7 MB, free: 456 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.001075/0.001075, allocations: 175.5 kB / 16.58 MB, free: 6.41 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.583/1.583, allocations: 223.2 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2762/0.2762, allocations: 22.36 MB / 314.1 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005079, allocations: 8 kB / 382.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4214, allocations: 55.98 MB / 438.6 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003444/0.4249, allocations: 2.514 MB / 441.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.4269, allocations: 0.9747 MB / 442 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.4272, allocations: 21.97 kB / 442.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.4274, allocations: 54.45 kB / 442.1 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.4276, allocations: 69.78 kB / 442.2 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.4283, allocations: 237.3 kB / 442.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004755/0.4287, allocations: 487.2 kB / 442.9 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003132/0.4291, allocations: 163 kB / 443.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.4292, allocations: 134.1 kB / 443.2 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.4294, allocations: 148.3 kB / 443.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.4294, allocations: 11.34 kB / 443.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.678e-05/0.4295, allocations: 11.06 kB / 443.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.4295, allocations: 61.73 kB / 443.4 MB, free: 36.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.768e-05/0.4296, allocations: 96.17 kB / 443.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.43, allocations: 385.5 kB / 443.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.43, allocations: 0 / 443.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.43, allocations: 2.812 kB / 443.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.43, allocations: 0 / 443.9 MB, free: 35.88 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001022/0.431, allocations: 0.7281 MB / 444.6 MB, free: 35.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4311, allocations: 8.688 kB / 444.6 MB, free: 35.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.061e-05/0.4312, allocations: 62.19 kB / 444.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.4317, allocations: 391.2 kB / 445.1 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.4317, allocations: 31.28 kB / 445.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/0.4318, allocations: 39.56 kB / 445.1 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007001/0.4325, allocations: 427 kB / 445.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4325, allocations: 0 / 445.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.4326, allocations: 21.98 kB / 445.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.4326, allocations: 8.094 kB / 445.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005395/0.4331, allocations: 299.9 kB / 445.9 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.4348, allocations: 1.551 MB / 447.4 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/0.4355, allocations: 376.2 kB / 447.8 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.4358, allocations: 140.2 kB / 447.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.4358, allocations: 7.328 kB / 447.9 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.4359, allocations: 37.8 kB / 448 MB, free: 33.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.343e-06/0.4359, allocations: 3.938 kB / 448 MB, free: 33.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008137/0.4367, allocations: 426.2 kB / 448.4 MB, free: 33.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.4367, allocations: 108.8 kB / 448.5 MB, free: 32.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.4371, allocations: 415.6 kB / 448.9 MB, free: 32.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.4372, allocations: 33.7 kB / 448.9 MB, free: 32.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.4373, allocations: 261 kB / 449.2 MB, free: 32.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.163e-05/0.4374, allocations: 102.6 kB / 449.3 MB, free: 32.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.4374, allocations: 4 kB / 449.3 MB, free: 32.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4376, allocations: 358.3 kB / 449.6 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.4378, allocations: 118.5 kB / 449.8 MB, free: 32.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.4381, allocations: 196.1 kB / 450 MB, free: 31.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.4383, allocations: 140 kB / 450.1 MB, free: 31.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4383, allocations: 0 / 450.1 MB, free: 31.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005995/0.4389, allocations: 396.5 kB / 450.5 MB, free: 31.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.284e-05/0.439, allocations: 139.7 kB / 450.6 MB, free: 31.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.4391, allocations: 2.844 kB / 450.6 MB, free: 31.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.4391, allocations: 2.438 kB / 450.6 MB, free: 31.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.4394, allocations: 75.73 kB / 450.7 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.4394, allocations: 4.344 kB / 450.7 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.4396, allocations: 53.62 kB / 450.7 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.4396, allocations: 12.25 kB / 450.8 MB, free: 31.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.4396, allocations: 2.719 kB / 450.8 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004078/0.4401, allocations: 262 kB / 451 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.4401, allocations: 0 / 451 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.56e-06/0.4401, allocations: 9.75 kB / 451 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.4403, allocations: 64.47 kB / 451.1 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4403, allocations: 4.5 kB / 451.1 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.4405, allocations: 27.73 kB / 451.1 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.4405, allocations: 13.53 kB / 451.1 MB, free: 31.33 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: F.y:VARIABLE(flow=false start = F.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: 8 * Number of states: 0 () * Number of discrete variables: 3 (PIe.I.local_reset,PIp.I.local_reset,Gs.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0003327/0.4408, allocations: 247.8 kB / 451.4 MB, free: 31.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.4409, allocations: 50.25 kB / 451.4 MB, free: 31.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.441, allocations: 60.94 kB / 451.5 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.441, allocations: 2.844 kB / 451.5 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.4411, allocations: 0 / 451.5 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.4411, allocations: 3.281 kB / 451.5 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.4415, allocations: 458.4 kB / 451.9 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4415, allocations: 3.938 kB / 451.9 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.4418, allocations: 59.12 kB / 452 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4418, allocations: 2.625 kB / 452 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.4419, allocations: 4 kB / 452 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4419, allocations: 6.625 kB / 452 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4419, allocations: 0 / 452 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.4427, allocations: 0.5769 MB / 452.6 MB, free: 30.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.4428, allocations: 149.5 kB / 452.7 MB, free: 30.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.4429, allocations: 7.938 kB / 452.7 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.4431, allocations: 24.64 kB / 452.8 MB, free: 30.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.4432, allocations: 18.28 kB / 452.8 MB, free: 30.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.4432, allocations: 10.41 kB / 452.8 MB, free: 30.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002603/0.4435, allocations: 280.2 kB / 453.1 MB, free: 30.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4435, allocations: 0 / 453.1 MB, free: 30.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004902/0.444, allocations: 139.2 kB / 453.2 MB, free: 30.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (F.y,Gs.y,T.y,PIp.I.y,PIe.I.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 (28): * Single equations (assignments): 28 * 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.0001343/0.4441, allocations: 110.2 kB / 453.3 MB, free: 29.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007598/0.4449, allocations: 431.1 kB / 453.7 MB, free: 29.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4449, allocations: 0 / 453.7 MB, free: 29.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.4452, allocations: 140 kB / 453.9 MB, free: 29.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/0.4459, allocations: 114.7 kB / 454 MB, free: 29.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.4473, allocations: 0.9913 MB / 455 MB, free: 29.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.4476, allocations: 0.8304 MB / 455.8 MB, free: 28.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.4478, allocations: 35.06 kB / 455.8 MB, free: 28.4 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4478, allocations: 0 / 455.8 MB, free: 28.4 MB / 350.1 MB Notification: Performance of Templates: time 0.009739/0.4575, allocations: 5.218 MB / 461.1 MB, free: 27.9 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.makefile make -j1 -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.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.ElecSys_generator_models.BoilerFollowsCalcHelperMain.o OMCppAES_AES.Coursework.ElecSys_generator_models.BoilerFollowsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ElecSys_generator_models.BoilerFollowsCalcHelperMain.o] Error 1