Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.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.Cascade_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") translateModel(AES.Coursework.Typical_control_structures.Cascade_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 100.5 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.001566/0.001566, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.3 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.289/0.289, allocations: 22.36 MB / 314.1 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003693, allocations: 8 kB / 382.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4333, allocations: 55.98 MB / 438.6 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.002083/0.4354, allocations: 1.52 MB / 440.1 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004357/0.4359, allocations: 186.9 kB / 440.3 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.436, allocations: 7.938 kB / 440.3 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.4361, allocations: 21.78 kB / 440.3 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/0.4362, allocations: 10.66 kB / 440.3 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.4365, allocations: 70.03 kB / 440.4 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.4367, allocations: 198.3 kB / 440.6 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.4369, allocations: 48.05 kB / 440.6 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.313e-05/0.437, allocations: 65.88 kB / 440.7 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.4371, allocations: 89.73 kB / 440.8 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.4371, allocations: 9.469 kB / 440.8 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.684e-05/0.4372, allocations: 9.5 kB / 440.8 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.4372, allocations: 31 kB / 440.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.4373, allocations: 52.17 kB / 440.9 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.4374, allocations: 136.3 kB / 441 MB, free: 37.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4374, allocations: 0 / 441 MB, free: 37.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4375, allocations: 0 / 441 MB, free: 37.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.4375, allocations: 0 / 441 MB, free: 37.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.0008289/0.4383, allocations: 491.5 kB / 441.5 MB, free: 37.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.4384, allocations: 8.562 kB / 441.5 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.4384, allocations: 24.91 kB / 441.5 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.4387, allocations: 240.4 kB / 441.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.4388, allocations: 17.41 kB / 441.8 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.4388, allocations: 24.59 kB / 441.8 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.4393, allocations: 237.7 kB / 442 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.4393, allocations: 0 / 442 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.4393, allocations: 14.83 kB / 442 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.4393, allocations: 5.562 kB / 442 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.4397, allocations: 159 kB / 442.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.4412, allocations: 1.032 MB / 443.2 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.4415, allocations: 164.2 kB / 443.4 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.4417, allocations: 70.36 kB / 443.4 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.4417, allocations: 192 / 443.4 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.4417, allocations: 38.53 kB / 443.5 MB, free: 35.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 8.71e-07/0.4417, allocations: 0 / 443.5 MB, free: 35.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005742/0.4423, allocations: 244.1 kB / 443.7 MB, free: 35.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.4424, allocations: 54.16 kB / 443.8 MB, free: 35.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.4426, allocations: 213 kB / 444 MB, free: 35.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4426, allocations: 33.48 kB / 444 MB, free: 35.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.4427, allocations: 147.1 kB / 444.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.4427, allocations: 75.75 kB / 444.2 MB, free: 35.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.4428, allocations: 10.47 kB / 444.2 MB, free: 35.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.4428, allocations: 330.5 kB / 444.6 MB, free: 35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.443, allocations: 77.08 kB / 444.6 MB, free: 34.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.4432, allocations: 169.5 kB / 444.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.4434, allocations: 91.25 kB / 444.9 MB, free: 34.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.4434, allocations: 2.844 kB / 444.9 MB, free: 34.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004485/0.4439, allocations: 315.7 kB / 445.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4439, allocations: 5.625 kB / 445.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4439, allocations: 6.234 kB / 445.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.4439, allocations: 6.188 kB / 445.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.4442, allocations: 92.72 kB / 445.3 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.4443, allocations: 9.469 kB / 445.3 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.4444, allocations: 44.56 kB / 445.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.4444, allocations: 15.44 kB / 445.4 MB, free: 34.59 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: PI_I.xfb:VARIABLE(fixed = true ) type: Real PI_E.xfb:VARIABLE(fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (PI_E.HIsat,PI_E.LOsat,PI_I.HIsat,PI_I.LOsat,PI_I.iNoDec,PI_I.iNoInc,PI_I.iTS,PI_E.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002122/0.4447, allocations: 141.5 kB / 445.5 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.4447, allocations: 25.12 kB / 445.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004296/0.4451, allocations: 232.2 kB / 445.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4452, allocations: 2.844 kB / 445.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4452, allocations: 0 / 445.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4452, allocations: 0 / 445.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.4456, allocations: 318.8 kB / 446.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4456, allocations: 0 / 446.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.4459, allocations: 56.77 kB / 446.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4459, allocations: 7.953 kB / 446.1 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.4459, allocations: 11.36 kB / 446.2 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.446, allocations: 0 / 446.2 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.429e-05/0.446, allocations: 0 / 446.2 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005548/0.4465, allocations: 376.2 kB / 446.5 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.4466, allocations: 102.4 kB / 446.6 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.4466, allocations: 10.89 kB / 446.6 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.4468, allocations: 17.41 kB / 446.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.4469, allocations: 25.86 kB / 446.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.4469, allocations: 3 kB / 446.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.447, allocations: 145.2 kB / 446.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.447, allocations: 0 / 446.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.4473, allocations: 38.53 kB / 446.9 MB, free: 33.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (P_I.y,P_E.y,PI_E.xfb,PI_E.xBias,PI_E.u,PI_E.csfil,PI_I.xfb,PI_I.xBias,PI_I.u,PI_I.csfil) * Number of discrete variables: 4 (PI_E.HIsat,PI_E.LOsat,PI_I.HIsat,PI_I.LOsat) * 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.0001312/0.4475, allocations: 110.9 kB / 447 MB, free: 33.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003897/0.4478, allocations: 201.3 kB / 447.2 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4479, allocations: 0 / 447.2 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.448, allocations: 102.8 kB / 447.3 MB, free: 33.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.4484, allocations: 28 kB / 447.3 MB, free: 33.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008705/0.4493, allocations: 0.6386 MB / 447.9 MB, free: 32.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.4495, allocations: 0.7487 MB / 448.7 MB, free: 32.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.69e-05/0.4496, allocations: 24.22 kB / 448.7 MB, free: 32.28 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4496, allocations: 0 / 448.7 MB, free: 32.28 MB / 350.1 MB Notification: Performance of Templates: time 0.0048/0.4544, allocations: 2.633 MB / 451.3 MB, free: 32.09 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.makefile make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.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.Cascade_with_locksCalcHelperMain.o OMCppAES_AES.Coursework.Typical_control_structures.Cascade_with_locksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Typical_control_structures.Cascade_with_locksCalcHelperMain.o] Error 1