Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.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.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, 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.001389/0.001389, allocations: 180.2 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.579/1.579, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2707/0.2707, allocations: 22.35 MB / 314.1 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003561, allocations: 12 kB / 382.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3773, allocations: 55.97 MB / 438.6 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002011/0.3794, allocations: 1.997 MB / 440.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003775/0.3798, allocations: 242.1 kB / 440.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.3799, allocations: 6.625 kB / 440.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.045e-05/0.38, allocations: 27.61 kB / 440.8 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.3801, allocations: 109.2 kB / 440.9 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001092/0.3803, allocations: 28.38 kB / 441 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.3805, allocations: 266.6 kB / 441.2 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.3807, allocations: 101.1 kB / 441.3 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.3809, allocations: 115.8 kB / 441.4 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.381, allocations: 81.56 kB / 441.5 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.3811, allocations: 9.344 kB / 441.5 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.853e-05/0.3811, allocations: 9.938 kB / 441.5 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.3811, allocations: 25.28 kB / 441.6 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.3812, allocations: 62.83 kB / 441.6 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.3813, allocations: 158.3 kB / 441.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3813, allocations: 0 / 441.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3813, allocations: 0 / 441.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.872e-06/0.3813, allocations: 0 / 441.8 MB, free: 37.16 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005295/0.3819, allocations: 0.4884 MB / 442.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3819, allocations: 8.938 kB / 442.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.382, allocations: 23.22 kB / 442.3 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.3822, allocations: 259.8 kB / 442.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3823, allocations: 9.781 kB / 442.6 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.3823, allocations: 10.38 kB / 442.6 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.3825, allocations: 177.2 kB / 442.7 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3826, allocations: 0 / 442.7 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.3826, allocations: 14.7 kB / 442.8 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.3826, allocations: 2.969 kB / 442.8 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.3828, allocations: 87.98 kB / 442.8 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006814/0.3835, allocations: 0.8141 MB / 443.7 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3836, allocations: 73.67 kB / 443.7 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/0.3837, allocations: 45.48 kB / 443.8 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.3837, allocations: 0 / 443.8 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.3837, allocations: 34.52 kB / 443.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.3837, allocations: 3 kB / 443.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002311/0.384, allocations: 123.6 kB / 443.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.384, allocations: 55.41 kB / 444 MB, free: 35.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.3843, allocations: 266.6 kB / 444.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.3843, allocations: 29.7 kB / 444.3 MB, free: 35.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.3844, allocations: 141.8 kB / 444.4 MB, free: 35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.3844, allocations: 38.08 kB / 444.4 MB, free: 34.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.3844, allocations: 0 / 444.4 MB, free: 34.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.3845, allocations: 331.8 kB / 444.8 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.877e-05/0.3846, allocations: 32.09 kB / 444.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.028e-05/0.3846, allocations: 51.12 kB / 444.9 MB, free: 34.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.348e-05/0.3847, allocations: 34 kB / 444.9 MB, free: 34.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3847, allocations: 3.031 kB / 444.9 MB, free: 34.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001873/0.3849, allocations: 136 kB / 445 MB, free: 34.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3849, allocations: 9.172 kB / 445 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.385, allocations: 0 / 445 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.385, allocations: 2.562 kB / 445 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.3851, allocations: 33.42 kB / 445.1 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3852, allocations: 0 / 445.1 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.658e-05/0.3852, allocations: 21.47 kB / 445.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.3853, allocations: 3 kB / 445.1 MB, free: 34.48 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = "K" fixed = true nominal = 300.0 ) type: Real 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 (14): * Single equations (assignments): 14 * 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.0002537/0.3855, allocations: 134.2 kB / 445.2 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.3856, allocations: 24.78 kB / 445.2 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/0.3856, allocations: 33.84 kB / 445.3 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3856, allocations: 0 / 445.3 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3856, allocations: 0 / 445.3 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3857, allocations: 0 / 445.3 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.3859, allocations: 241.6 kB / 445.5 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3859, allocations: 4 kB / 445.5 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3861, allocations: 19.67 kB / 445.5 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3861, allocations: 3.938 kB / 445.5 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3861, allocations: 2.781 kB / 445.5 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3861, allocations: 7.891 kB / 445.5 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3861, allocations: 4 kB / 445.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.3864, allocations: 235.7 kB / 445.8 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.3865, allocations: 98.19 kB / 445.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.3865, allocations: 4 kB / 445.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.3866, allocations: 0 / 445.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.3866, allocations: 10.03 kB / 445.9 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.3866, allocations: 2.719 kB / 445.9 MB, free: 33.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.3868, allocations: 195 kB / 446.1 MB, free: 33.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3868, allocations: 3.938 kB / 446.1 MB, free: 33.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.3871, allocations: 36.88 kB / 446.1 MB, free: 33.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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): 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.911e-05/0.3872, allocations: 97.78 kB / 446.2 MB, free: 33.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.3873, allocations: 77.05 kB / 446.3 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3873, allocations: 0 / 446.3 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.668e-05/0.3874, allocations: 32.33 kB / 446.3 MB, free: 33.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3878, allocations: 54.34 kB / 446.4 MB, free: 33.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008713/0.3886, allocations: 0.6069 MB / 447 MB, free: 33.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.3889, allocations: 0.7322 MB / 447.7 MB, free: 32.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.389, allocations: 19.03 kB / 447.7 MB, free: 32.39 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.389, allocations: 0 / 447.7 MB, free: 32.39 MB / 350.1 MB Notification: Performance of Templates: time 0.00447/0.3934, allocations: 2.478 MB / 450.2 MB, free: 32.22 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.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.ThermSys_Transport.HE_simple_case_001CalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_Transport.HE_simple_case_001CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_Transport.HE_simple_case_001CalcHelperMain.o] Error 1