Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Keep_below_limit.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_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008491/0.0008489, allocations: 102.7 kB / 15.71 MB, free: 460 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.0009533/0.0009533, allocations: 177.1 kB / 16.58 MB, free: 6.867 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.559/1.559, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2885/0.2885, allocations: 22.35 MB / 314.1 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004676, allocations: 8 kB / 383.3 MB, free: 9.875 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4045, allocations: 55.98 MB / 439.2 MB, free: 39.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_below_limit): time 0.002127/0.4066, allocations: 1.486 MB / 440.7 MB, free: 38.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.4077, allocations: 0.5608 MB / 441.3 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.918e-05/0.4078, allocations: 2.938 kB / 441.3 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.4081, allocations: 24.59 kB / 441.3 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.4082, allocations: 23.59 kB / 441.3 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.4085, allocations: 88.88 kB / 441.4 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.4088, allocations: 180.7 kB / 441.6 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.4089, allocations: 50.61 kB / 441.6 MB, free: 38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.409, allocations: 74.16 kB / 441.7 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.4092, allocations: 81.81 kB / 441.8 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.4092, allocations: 2.656 kB / 441.8 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.212e-05/0.4093, allocations: 10.5 kB / 441.8 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.347e-05/0.4094, allocations: 43.5 kB / 441.8 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.4094, allocations: 49.7 kB / 441.9 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.4096, allocations: 127.3 kB / 442 MB, free: 37.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.4096, allocations: 2.906 kB / 442 MB, free: 37.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4096, allocations: 0 / 442 MB, free: 37.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.4096, allocations: 4 kB / 442 MB, free: 37.84 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001055/0.4107, allocations: 0.4967 MB / 442.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.4107, allocations: 8.281 kB / 442.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.4108, allocations: 22.47 kB / 442.6 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.4113, allocations: 267.1 kB / 442.8 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.4113, allocations: 10.02 kB / 442.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.4114, allocations: 12.94 kB / 442.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.4117, allocations: 171.3 kB / 443 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.4117, allocations: 0 / 443 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.4118, allocations: 11.14 kB / 443 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.4118, allocations: 3.062 kB / 443 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.412, allocations: 124.8 kB / 443.1 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.4129, allocations: 0.5426 MB / 443.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.4134, allocations: 206.9 kB / 443.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.4135, allocations: 71.59 kB / 444 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.4135, allocations: 2.625 kB / 444 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.4136, allocations: 42.56 kB / 444 MB, free: 36.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.4136, allocations: 0 / 444 MB, free: 36.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001389/0.415, allocations: 0.5808 MB / 444.6 MB, free: 36.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.415, allocations: 84.11 kB / 444.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.4153, allocations: 219 kB / 444.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.4153, allocations: 25.7 kB / 444.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.4154, allocations: 134.9 kB / 445 MB, free: 35.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.4155, allocations: 45.38 kB / 445.1 MB, free: 35.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.4155, allocations: 0 / 445.1 MB, free: 35.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.4156, allocations: 325.9 kB / 445.4 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.4157, allocations: 68.62 kB / 445.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.4158, allocations: 90.45 kB / 445.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.416, allocations: 70.84 kB / 445.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.416, allocations: 0 / 445.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003139/0.4163, allocations: 203.6 kB / 445.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.4164, allocations: 106.2 kB / 445.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4164, allocations: 0 / 445.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4164, allocations: 3.031 kB / 445.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.4166, allocations: 47.77 kB / 446 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4166, allocations: 0 / 446 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.4168, allocations: 33.5 kB / 446 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.4168, allocations: 9.469 kB / 446 MB, free: 35.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.4168, allocations: 3.188 kB / 446 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001843/0.417, allocations: 127.5 kB / 446.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-06/0.417, allocations: 2.875 kB / 446.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-06/0.417, allocations: 3.953 kB / 446.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.4172, allocations: 43.53 kB / 446.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.4172, allocations: 2.844 kB / 446.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.4174, allocations: 24.14 kB / 446.2 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.4174, allocations: 2.875 kB / 446.2 MB, free: 35.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001133/0.4175, allocations: 209.4 kB / 446.4 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.4176, allocations: 9.875 kB / 446.4 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006035/0.4182, allocations: 309.6 kB / 446.7 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4182, allocations: 0 / 446.7 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4182, allocations: 2.781 kB / 446.7 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4182, allocations: 4 kB / 446.7 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.4185, allocations: 273.7 kB / 447 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4185, allocations: 3.938 kB / 447 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.785e-05/0.4186, allocations: 14.88 kB / 447 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003388/0.4189, allocations: 95.62 kB / 447.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.419, allocations: 2.938 kB / 447.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.4206, allocations: 1.756 MB / 448.9 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4206, allocations: 3.938 kB / 448.9 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.4213, allocations: 469.3 kB / 449.3 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.4213, allocations: 91.98 kB / 449.4 MB, free: 32.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.4214, allocations: 10.17 kB / 449.4 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.4216, allocations: 25.23 kB / 449.5 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.4216, allocations: 17.11 kB / 449.5 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.4216, allocations: 6.906 kB / 449.5 MB, free: 32.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002253/0.4219, allocations: 172.1 kB / 449.7 MB, free: 32.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4219, allocations: 0 / 449.7 MB, free: 32.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.4222, allocations: 59.03 kB / 449.7 MB, free: 32.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (C.FO.y,P.x_scaled[1],P.x_scaled[2]) * 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 (8): * Single equations (assignments): 7 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 9.965e-05/0.4223, allocations: 96.23 kB / 449.8 MB, free: 32.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.4227, allocations: 221.4 kB / 450 MB, free: 32.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4227, allocations: 0 / 450 MB, free: 32.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.423, allocations: 216.4 kB / 450.2 MB, free: 32.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.4234, allocations: 29 kB / 450.3 MB, free: 32.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000671/0.424, allocations: 483.7 kB / 450.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.4243, allocations: 0.7417 MB / 451.5 MB, free: 31.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.4243, allocations: 16.44 kB / 451.5 MB, free: 31.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4243, allocations: 0 / 451.5 MB, free: 31.3 MB / 350.1 MB Notification: Performance of Templates: time 0.004186/0.4285, allocations: 2.442 MB / 453.9 MB, free: 31.14 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.makefile make -j1 -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.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_below_limitCalcHelperMain.o OMCppAES_AES.Coursework.Typical_control_structures.Keep_below_limitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Typical_control_structures.Keep_below_limitCalcHelperMain.o] Error 1