Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.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.OOM_Intro.HelloWorld_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") translateModel(AES.Coursework.OOM_Intro.HelloWorld_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 99.44 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.001524/0.001524, allocations: 179.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.698/1.698, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2845/0.2845, allocations: 22.35 MB / 314.1 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003843, allocations: 8 kB / 382.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4213, allocations: 55.97 MB / 438.6 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.0006754/0.4221, allocations: 232.9 kB / 438.8 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001545/0.4222, allocations: 35.11 kB / 438.8 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.4223, allocations: 0 / 438.8 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.131e-05/0.4223, allocations: 4 kB / 438.8 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.16e-05/0.4223, allocations: 2.219 kB / 438.8 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.4225, allocations: 10.16 kB / 438.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.244e-05/0.4226, allocations: 3.938 kB / 438.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.4226, allocations: 2.719 kB / 438.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.4227, allocations: 6.719 kB / 438.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.4227, allocations: 3.234 kB / 438.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.4228, allocations: 2.656 kB / 438.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-06/0.4228, allocations: 0 / 438.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.4228, allocations: 0 / 438.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.4228, allocations: 25.7 kB / 438.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.564e-05/0.4229, allocations: 14.09 kB / 438.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4229, allocations: 0 / 438.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4229, allocations: 0 / 438.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.4229, allocations: 0 / 438.9 MB, free: 39.07 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003714/0.4233, allocations: 321.2 kB / 439.2 MB, free: 38.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4233, allocations: 10.31 kB / 439.2 MB, free: 38.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.4233, allocations: 0 / 439.2 MB, free: 38.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.469e-05/0.4234, allocations: 163 kB / 439.4 MB, free: 38.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4235, allocations: 4 kB / 439.4 MB, free: 38.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.4235, allocations: 3.406 kB / 439.4 MB, free: 38.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.482e-05/0.4236, allocations: 32.52 kB / 439.4 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4236, allocations: 0 / 439.4 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.4236, allocations: 3.953 kB / 439.4 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4236, allocations: 3.938 kB / 439.4 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.855e-05/0.4237, allocations: 2.719 kB / 439.4 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.4238, allocations: 156.1 kB / 439.6 MB, free: 38.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.366e-05/0.4239, allocations: 27.39 kB / 439.6 MB, free: 38.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.4239, allocations: 12.66 kB / 439.6 MB, free: 38.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.4239, allocations: 0 / 439.6 MB, free: 38.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.4239, allocations: 32.81 kB / 439.6 MB, free: 38.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.424, allocations: 0 / 439.6 MB, free: 38.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003378/0.4243, allocations: 72.88 kB / 439.7 MB, free: 38.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.4243, allocations: 55.53 kB / 439.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.4244, allocations: 100.7 kB / 439.9 MB, free: 37.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.4244, allocations: 25.7 kB / 439.9 MB, free: 37.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.129e-05/0.4245, allocations: 82.92 kB / 440 MB, free: 37.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.4245, allocations: 10.94 kB / 440 MB, free: 37.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.4245, allocations: 0 / 440 MB, free: 37.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.4246, allocations: 317.5 kB / 440.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.4246, allocations: 2.938 kB / 440.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.4246, allocations: 5.469 kB / 440.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.109e-05/0.4246, allocations: 12.17 kB / 440.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4246, allocations: 0 / 440.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.89e-05/0.4247, allocations: 56.34 kB / 440.4 MB, free: 37.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.4247, allocations: 3.25 kB / 440.4 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4247, allocations: 0 / 440.4 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.4247, allocations: 0 / 440.4 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.4248, allocations: 15.34 kB / 440.4 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.4248, allocations: 0 / 440.4 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.4249, allocations: 0 / 440.4 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.4249, allocations: 2.812 kB / 440.4 MB, free: 37.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 5.603e-05/0.4249, allocations: 109.8 kB / 440.5 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-06/0.4249, allocations: 2.812 kB / 440.5 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.4251, allocations: 56.84 kB / 440.6 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.4251, allocations: 0 / 440.6 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4251, allocations: 3.953 kB / 440.6 MB, free: 37.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4251, allocations: 0 / 440.6 MB, free: 37.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.477e-05/0.4252, allocations: 155 kB / 440.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4252, allocations: 0 / 440.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.4252, allocations: 9.109 kB / 440.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4252, allocations: 4 kB / 440.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.4252, allocations: 0 / 440.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4253, allocations: 6.938 kB / 440.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4253, allocations: 0 / 440.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.99e-05/0.4253, allocations: 76.02 kB / 440.8 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.4254, allocations: 81.05 kB / 440.9 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.4254, allocations: 0 / 440.9 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.4254, allocations: 2.938 kB / 440.9 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.4254, allocations: 11.27 kB / 440.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.4254, allocations: 0 / 440.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.191e-05/0.4255, allocations: 78.03 kB / 441 MB, free: 36.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4255, allocations: 0 / 441 MB, free: 36.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001764/0.4257, allocations: 10.95 kB / 441 MB, free: 36.85 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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 7.884e-05/0.4257, allocations: 90.78 kB / 441.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.963e-05/0.4258, allocations: 17.08 kB / 441.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4258, allocations: 4.094 kB / 441.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.606e-05/0.4259, allocations: 10.56 kB / 441.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.426, allocations: 2.906 kB / 441.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.4263, allocations: 119.8 kB / 441.2 MB, free: 36.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.4264, allocations: 0.6781 MB / 441.9 MB, free: 35.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.4265, allocations: 11.44 kB / 441.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4265, allocations: 0 / 441.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of Templates: time 0.001781/0.4283, allocations: 437 kB / 442.3 MB, free: 35.89 MB / 350.1 MB make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.makefile make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.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.OOM_Intro.HelloWorld_inverseCalcHelperMain.o OMCppAES_AES.Coursework.OOM_Intro.HelloWorld_inverseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.OOM_Intro.HelloWorld_inverseCalcHelperMain.o] Error 1