Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Decoupling.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.Typical_control_structures.Decoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Decoupling") translateModel(AES.Coursework.Typical_control_structures.Decoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Decoupling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009902/0.0009903, allocations: 99.83 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.00104/0.00104, allocations: 180 kB / 16.58 MB, free: 6.879 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.575/1.575, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.3135/0.3135, allocations: 22.36 MB / 314.1 MB, free: 13.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.000336, allocations: 8 kB / 382.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4265, allocations: 55.98 MB / 438.5 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Decoupling): time 0.002154/0.4287, allocations: 1.539 MB / 440.1 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.4311, allocations: 1.761 MB / 441.8 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.4314, allocations: 6.75 kB / 441.9 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.4319, allocations: 136.1 kB / 442 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004674/0.4324, allocations: 173.2 kB / 442.2 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.4329, allocations: 277.6 kB / 442.4 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008615/0.4338, allocations: 0.8802 MB / 443.3 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.434, allocations: 125.5 kB / 443.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.4344, allocations: 380.5 kB / 443.8 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003803/0.4348, allocations: 354.6 kB / 444.1 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.199e-05/0.4349, allocations: 22 kB / 444.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.435, allocations: 45.09 kB / 444.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.4352, allocations: 181.3 kB / 444.4 MB, free: 35.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.518e-05/0.4353, allocations: 118.7 kB / 444.5 MB, free: 35.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.4357, allocations: 0.5293 MB / 445 MB, free: 35.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4358, allocations: 0 / 445 MB, free: 35.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4358, allocations: 3.938 kB / 445 MB, free: 35.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.4358, allocations: 0 / 445 MB, free: 35.59 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002504/0.4383, allocations: 1.117 MB / 446.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4383, allocations: 8.281 kB / 446.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.4385, allocations: 75.53 kB / 446.2 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.4399, allocations: 0.7159 MB / 447 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.4399, allocations: 39.08 kB / 447 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-05/0.44, allocations: 44.59 kB / 447 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/0.4407, allocations: 439.2 kB / 447.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.4408, allocations: 7.891 kB / 447.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.4408, allocations: 15.25 kB / 447.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.4408, allocations: 17.47 kB / 447.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007072/0.4415, allocations: 416.6 kB / 447.9 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.4436, allocations: 1.639 MB / 449.5 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.4443, allocations: 468.4 kB / 450 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.4446, allocations: 204.4 kB / 450.2 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.904e-05/0.4447, allocations: 9.453 kB / 450.2 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.4447, allocations: 41.38 kB / 450.3 MB, free: 32.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.754e-06/0.4447, allocations: 0 / 450.3 MB, free: 32.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001011/0.4457, allocations: 0.6185 MB / 450.9 MB, free: 32.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.4458, allocations: 61.66 kB / 450.9 MB, free: 32.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.4472, allocations: 0.8867 MB / 451.8 MB, free: 32.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.4473, allocations: 36.33 kB / 451.9 MB, free: 32.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.4475, allocations: 292.1 kB / 452.1 MB, free: 31.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.4476, allocations: 166.7 kB / 452.3 MB, free: 31.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.4476, allocations: 18.69 kB / 452.3 MB, free: 31.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4478, allocations: 375.9 kB / 452.7 MB, free: 31.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/0.4483, allocations: 292.5 kB / 453 MB, free: 31.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/0.449, allocations: 412.3 kB / 453.4 MB, free: 31.07 MB / 350.1 MB Notification: The given system is mixed-determined. [index = 2] Notification: Performance of analyzeInitialSystem (initialization): time 0.004121/0.4531, allocations: 1.532 MB / 454.9 MB, free: 30.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4531, allocations: 3.938 kB / 454.9 MB, free: 30.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001655/0.4548, allocations: 0.8207 MB / 455.7 MB, free: 30.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.4548, allocations: 10.67 kB / 455.7 MB, free: 30.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.4548, allocations: 4.031 kB / 455.7 MB, free: 30.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.4549, allocations: 9.625 kB / 455.8 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009196/0.4558, allocations: 206.6 kB / 456 MB, free: 30.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/0.4558, allocations: 10.53 kB / 456 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008969/0.4567, allocations: 186.5 kB / 456.2 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.4568, allocations: 22.31 kB / 456.2 MB, free: 30.23 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.xfb:VARIABLE(fixed = true ) type: Real C1.xfb:VARIABLE(fixed = true ) type: Real Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: D.Fcs2.y = D.Fcs2.y_start D.Fcs1.y = D.Fcs1.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (C1.HIsat,C1.LOsat,C2.HIsat,C2.LOsat,C2.iNoDec,C2.iNoInc,C2.iTS,C1.iNoDec,C1.iNoInc,C1.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0004557/0.4573, allocations: 239.2 kB / 456.4 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.4574, allocations: 59.41 kB / 456.5 MB, free: 30.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.4584, allocations: 0.5363 MB / 457 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.4584, allocations: 7.906 kB / 457 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.4584, allocations: 1.094 kB / 457 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4584, allocations: 0 / 457 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.4592, allocations: 0.5894 MB / 457.6 MB, free: 29.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4592, allocations: 1.25 kB / 457.6 MB, free: 29.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.4597, allocations: 92.11 kB / 457.7 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.4597, allocations: 1.312 kB / 457.7 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.4598, allocations: 16.56 kB / 457.7 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.4598, allocations: 6.391 kB / 457.7 MB, free: 29.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4598, allocations: 0 / 457.7 MB, free: 29.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.461, allocations: 0.8252 MB / 458.5 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.4611, allocations: 167.7 kB / 458.7 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.044e-05/0.4612, allocations: 11.81 kB / 458.7 MB, free: 28.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005705/0.4618, allocations: 95.41 kB / 458.8 MB, free: 28.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.4619, allocations: 40.98 kB / 458.8 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.4619, allocations: 12.94 kB / 458.9 MB, free: 28.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001347/0.4633, allocations: 0.661 MB / 459.5 MB, free: 28.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4633, allocations: 1.062 kB / 459.5 MB, free: 28.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005529/0.4638, allocations: 123.7 kB / 459.6 MB, free: 28.55 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 14 (P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1],D.D12.x_scaled[1],D.D21.x_scaled[1],C1.xfb,C1.xBias,C1.u,C1.csfil,C2.xfb,C2.xBias,C2.u,C2.csfil) * Number of discrete variables: 4 (C1.HIsat,C1.LOsat,C2.HIsat,C2.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.0002054/0.4641, allocations: 128.4 kB / 459.8 MB, free: 28.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.4654, allocations: 0.5867 MB / 460.4 MB, free: 28.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4655, allocations: 3.938 kB / 460.4 MB, free: 28.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.4659, allocations: 229.8 kB / 460.6 MB, free: 28.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.4665, allocations: 90.59 kB / 460.7 MB, free: 28.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.4691, allocations: 1.529 MB / 462.2 MB, free: 27.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/0.4698, allocations: 0.952 MB / 463.2 MB, free: 26.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.47, allocations: 52.56 kB / 463.2 MB, free: 26.53 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.47, allocations: 5.812 kB / 463.2 MB, free: 26.53 MB / 350.1 MB Notification: Performance of Templates: time 0.0192/0.4892, allocations: 8.039 MB / 471.3 MB, free: 25.02 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.Decoupling.makefile make -j1 -f AES_AES.Coursework.Typical_control_structures.Decoupling.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.Typical_control_structures.DecouplingCalcHelperMain.o OMCppAES_AES.Coursework.Typical_control_structures.DecouplingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Typical_control_structures.DecouplingCalcHelperMain.o] Error 1