Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.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.Tuning_brushup.MSL_electrical_thermal_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009109/0.0009109, allocations: 100.1 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.0009539/0.0009539, allocations: 174.8 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.612/1.612, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2558/0.2558, allocations: 22.35 MB / 314.1 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.000336, allocations: 8 kB / 382.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4346, allocations: 55.98 MB / 438.6 MB, free: 39.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.002421/0.4371, allocations: 1.913 MB / 440.5 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008687/0.438, allocations: 493 kB / 441 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.4381, allocations: 5.5 kB / 441 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.4383, allocations: 17.03 kB / 441 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.4384, allocations: 54.94 kB / 441 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.4386, allocations: 41.88 kB / 441.1 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.4388, allocations: 198.1 kB / 441.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.4391, allocations: 72.64 kB / 441.3 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.044e-05/0.4392, allocations: 62.64 kB / 441.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.4393, allocations: 75.83 kB / 441.5 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.4394, allocations: 8.688 kB / 441.5 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.074e-05/0.4394, allocations: 9.531 kB / 441.5 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.4394, allocations: 28.47 kB / 441.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.814e-05/0.4395, allocations: 58.11 kB / 441.6 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.4397, allocations: 156 kB / 441.7 MB, free: 37.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.4397, allocations: 0 / 441.7 MB, free: 37.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4397, allocations: 4 kB / 441.7 MB, free: 37.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.4397, allocations: 2.688 kB / 441.7 MB, free: 37.4 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007033/0.4404, allocations: 440.2 kB / 442.2 MB, free: 37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.4405, allocations: 8.531 kB / 442.2 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.4406, allocations: 23.12 kB / 442.2 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.4408, allocations: 208.4 kB / 442.4 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.4409, allocations: 21.06 kB / 442.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.4409, allocations: 20.03 kB / 442.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.4413, allocations: 170.5 kB / 442.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.4413, allocations: 3.953 kB / 442.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.4413, allocations: 10.84 kB / 442.6 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.4413, allocations: 3.562 kB / 442.6 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.4416, allocations: 121.5 kB / 442.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009905/0.4426, allocations: 0.6773 MB / 443.4 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.4429, allocations: 134.8 kB / 443.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.443, allocations: 68.03 kB / 443.6 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.4431, allocations: 2.531 kB / 443.6 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.4431, allocations: 34.84 kB / 443.7 MB, free: 35.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.4431, allocations: 4 kB / 443.7 MB, free: 35.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003814/0.4435, allocations: 176.3 kB / 443.8 MB, free: 35.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.4435, allocations: 51.41 kB / 443.9 MB, free: 35.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.4436, allocations: 134.1 kB / 444 MB, free: 35.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4437, allocations: 29.7 kB / 444 MB, free: 35.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.4437, allocations: 135.2 kB / 444.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.4438, allocations: 57.95 kB / 444.2 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.4438, allocations: 0 / 444.2 MB, free: 35.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.4439, allocations: 332.7 kB / 444.6 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.4439, allocations: 37.62 kB / 444.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.4441, allocations: 76.38 kB / 444.7 MB, free: 35.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.458e-05/0.4442, allocations: 41.53 kB / 444.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4442, allocations: 4 kB / 444.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002425/0.4444, allocations: 164.9 kB / 444.9 MB, free: 35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4444, allocations: 5.562 kB / 444.9 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4444, allocations: 0 / 444.9 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4445, allocations: 3.094 kB / 444.9 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.4446, allocations: 41.3 kB / 444.9 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.4446, allocations: 3.938 kB / 444.9 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/0.4447, allocations: 22.08 kB / 444.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.4448, allocations: 6.969 kB / 444.9 MB, free: 34.99 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (21): * Single equations (assignments): 21 * 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 8.746e-05/0.4448, allocations: 131.5 kB / 445.1 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.4449, allocations: 9.844 kB / 445.1 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.4449, allocations: 15.66 kB / 445.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4449, allocations: 0 / 445.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.445, allocations: 0 / 445.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.445, allocations: 6.422 kB / 445.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.4452, allocations: 258.5 kB / 445.4 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4452, allocations: 4 kB / 445.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.4454, allocations: 44.05 kB / 445.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4454, allocations: 2.562 kB / 445.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.4454, allocations: 4 kB / 445.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4454, allocations: 0 / 445.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4454, allocations: 2.75 kB / 445.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.4458, allocations: 278.6 kB / 445.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.4458, allocations: 99.86 kB / 445.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.4459, allocations: 4 kB / 445.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.446, allocations: 7.438 kB / 445.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.446, allocations: 17.72 kB / 445.8 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.446, allocations: 6.906 kB / 445.8 MB, free: 34.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.038e-05/0.4461, allocations: 95.06 kB / 445.9 MB, free: 34.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4461, allocations: 0 / 445.9 MB, free: 34.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.4464, allocations: 51.44 kB / 446 MB, free: 34.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Cbody.T,Ccont.T) * 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 (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 Backend phase and start with SimCode phase: time 9.304e-05/0.4465, allocations: 99.09 kB / 446.1 MB, free: 34.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.4467, allocations: 106.3 kB / 446.2 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4467, allocations: 0 / 446.2 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.34e-05/0.4468, allocations: 58.27 kB / 446.2 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.4472, allocations: 14.52 kB / 446.2 MB, free: 34.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008035/0.448, allocations: 0.5965 MB / 446.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.4481, allocations: 0.7258 MB / 447.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.4482, allocations: 15.78 kB / 447.6 MB, free: 32.9 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4482, allocations: 0 / 447.6 MB, free: 32.9 MB / 350.1 MB Notification: Performance of Templates: time 0.003263/0.4515, allocations: 1.743 MB / 449.3 MB, free: 32.75 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.makefile make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.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.Tuning_brushup.MSL_electrical_thermal_OpenLoopCalcHelperMain.o OMCppAES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoopCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoopCalcHelperMain.o] Error 1