Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.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.Keep_within_two_limits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits") translateModel(AES.Coursework.Typical_control_structures.Keep_within_two_limits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009496/0.0009498, 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.001079/0.001079, 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.534/1.534, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2565/0.2565, allocations: 22.37 MB / 314.1 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005285/0.0005286, allocations: 12 kB / 383.3 MB, free: 9.855 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.482, allocations: 55.97 MB / 439.2 MB, free: 39.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_within_two_limits): time 0.001865/0.4839, allocations: 1.704 MB / 440.9 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009468/0.4848, allocations: 0.6369 MB / 441.6 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.485, allocations: 2.75 kB / 441.6 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.4852, allocations: 38.25 kB / 441.6 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.4854, allocations: 39.39 kB / 441.6 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.4857, allocations: 130.9 kB / 441.8 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.486, allocations: 270.8 kB / 442 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.4862, allocations: 90.38 kB / 442.1 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.4863, allocations: 98.02 kB / 442.2 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.4864, allocations: 117.5 kB / 442.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.4865, allocations: 8.094 kB / 442.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.623e-05/0.4865, allocations: 5.656 kB / 442.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.493e-05/0.4866, allocations: 52.58 kB / 442.4 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.4867, allocations: 62.11 kB / 442.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.4868, allocations: 201.4 kB / 442.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4869, allocations: 0 / 442.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4869, allocations: 4 kB / 442.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.4869, allocations: 0 / 442.7 MB, free: 37.36 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009516/0.4878, allocations: 0.578 MB / 443.2 MB, free: 36.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.4879, allocations: 11.5 kB / 443.2 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.4879, allocations: 31.88 kB / 443.3 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.4884, allocations: 307.9 kB / 443.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.4884, allocations: 13.25 kB / 443.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.4885, allocations: 21.22 kB / 443.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.4889, allocations: 252.1 kB / 443.9 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.4889, allocations: 8 kB / 443.9 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.489, allocations: 10.42 kB / 443.9 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.489, allocations: 2.75 kB / 443.9 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.4894, allocations: 211.2 kB / 444.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.4904, allocations: 0.7169 MB / 444.8 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/0.4911, allocations: 279.4 kB / 445.1 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.4913, allocations: 108.5 kB / 445.2 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.4913, allocations: 0 / 445.2 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.4914, allocations: 41.56 kB / 445.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.094e-06/0.4914, allocations: 0 / 445.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002317/0.4937, allocations: 0.9449 MB / 446.2 MB, free: 35.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.4938, allocations: 113 kB / 446.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.4941, allocations: 256.1 kB / 446.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.4941, allocations: 32.3 kB / 446.6 MB, free: 35.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.4942, allocations: 159.8 kB / 446.7 MB, free: 35.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.4943, allocations: 59.8 kB / 446.8 MB, free: 35.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.4943, allocations: 2.75 kB / 446.8 MB, free: 35.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.4944, allocations: 342.2 kB / 447.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.4945, allocations: 90.16 kB / 447.2 MB, free: 34.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.4947, allocations: 138.2 kB / 447.3 MB, free: 34.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.4949, allocations: 106.5 kB / 447.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4949, allocations: 4.031 kB / 447.4 MB, free: 34.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004363/0.4954, allocations: 287.9 kB / 447.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.4954, allocations: 112.1 kB / 447.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4954, allocations: 4 kB / 447.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4955, allocations: 3.938 kB / 447.8 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.4957, allocations: 60.25 kB / 447.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4958, allocations: 7.938 kB / 447.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.496, allocations: 45.22 kB / 447.9 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.496, allocations: 5.375 kB / 448 MB, free: 34.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.541e-06/0.496, allocations: 2.844 kB / 448 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002477/0.4963, allocations: 177 kB / 448.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.4963, allocations: 3.328 kB / 448.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/0.4963, allocations: 6.969 kB / 448.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.4965, allocations: 46.14 kB / 448.2 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.4965, allocations: 6.688 kB / 448.2 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.4967, allocations: 33.03 kB / 448.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.4967, allocations: 6.844 kB / 448.2 MB, free: 34.21 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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 prepare postOptimizeDAE: time 0.0001207/0.4968, allocations: 214.2 kB / 448.4 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.4969, allocations: 22.09 kB / 448.5 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000877/0.4978, allocations: 456.1 kB / 448.9 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4978, allocations: 3.188 kB / 448.9 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4978, allocations: 7.328 kB / 448.9 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4978, allocations: 0 / 448.9 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.4981, allocations: 326.4 kB / 449.2 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4981, allocations: 0 / 449.2 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.4982, allocations: 21.92 kB / 449.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004703/0.4987, allocations: 160 kB / 449.4 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.4987, allocations: 6.562 kB / 449.4 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.5013, allocations: 2.325 MB / 451.7 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5013, allocations: 0 / 451.7 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.5023, allocations: 0.6351 MB / 452.4 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.5024, allocations: 102.3 kB / 452.5 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.5024, allocations: 8 kB / 452.5 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.5027, allocations: 40.5 kB / 452.5 MB, free: 31.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.5027, allocations: 11.92 kB / 452.5 MB, free: 31.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.5027, allocations: 5.719 kB / 452.5 MB, free: 31.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.503, allocations: 200.4 kB / 452.7 MB, free: 31.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.503, allocations: 0 / 452.7 MB, free: 31.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000432/0.5035, allocations: 90.03 kB / 452.8 MB, free: 31.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (C_hi.FO.y,P.x_scaled[1],P.x_scaled[2],C_lo.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 (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.000116/0.5036, allocations: 96.62 kB / 452.9 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005792/0.5042, allocations: 315.2 kB / 453.2 MB, free: 31.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5042, allocations: 0 / 453.2 MB, free: 31.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.5047, allocations: 287.6 kB / 453.5 MB, free: 30.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.5051, allocations: 47.16 kB / 453.6 MB, free: 30.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009961/0.5061, allocations: 0.6527 MB / 454.2 MB, free: 30.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.5063, allocations: 0.7629 MB / 455 MB, free: 29.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.5064, allocations: 17.34 kB / 455 MB, free: 29.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5064, allocations: 0 / 455 MB, free: 29.8 MB / 350.1 MB Notification: Performance of Templates: time 0.006124/0.5125, allocations: 3.458 MB / 458.4 MB, free: 29.53 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.makefile make -j1 -f AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.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.Keep_within_two_limitsCalcHelperMain.o OMCppAES_AES.Coursework.Typical_control_structures.Keep_within_two_limitsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Typical_control_structures.Keep_within_two_limitsCalcHelperMain.o] Error 1