Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_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.Devel_test_models.Test_header_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_001") translateModel(AES.Devel_test_models.Test_header_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009399/0.0009398, 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.001098/0.001098, allocations: 176 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.622/1.622, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2911/0.2911, allocations: 22.36 MB / 314.1 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005269/0.000527, allocations: 8 kB / 382.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4023, allocations: 55.97 MB / 438.5 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.001979/0.4043, allocations: 1.883 MB / 440.4 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003632/0.4047, allocations: 205.6 kB / 440.6 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.4048, allocations: 2.781 kB / 440.6 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.902e-05/0.4049, allocations: 20.97 kB / 440.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.4051, allocations: 78.64 kB / 440.7 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.4052, allocations: 29.64 kB / 440.8 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.4054, allocations: 202 kB / 441 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.4056, allocations: 86.11 kB / 441 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.4058, allocations: 72.41 kB / 441.1 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.4059, allocations: 69.11 kB / 441.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.4059, allocations: 9.719 kB / 441.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.854e-05/0.4059, allocations: 9.562 kB / 441.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.062e-05/0.406, allocations: 32.44 kB / 441.2 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.406, allocations: 64.23 kB / 441.3 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.4062, allocations: 139.8 kB / 441.4 MB, free: 37.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4062, allocations: 0 / 441.4 MB, free: 37.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4062, allocations: 2.906 kB / 441.4 MB, free: 37.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.4062, allocations: 4 kB / 441.4 MB, free: 37.22 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005265/0.4068, allocations: 446.2 kB / 441.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4068, allocations: 7.844 kB / 441.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.4069, allocations: 21.91 kB / 441.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.4071, allocations: 226.3 kB / 442.1 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.4071, allocations: 9.75 kB / 442.1 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.4072, allocations: 18.94 kB / 442.1 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.4074, allocations: 128.5 kB / 442.3 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4074, allocations: 7.938 kB / 442.3 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.4074, allocations: 4 kB / 442.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4074, allocations: 5.156 kB / 442.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.4076, allocations: 75.72 kB / 442.4 MB, free: 36.44 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.4085, allocations: 0.6774 MB / 443 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.4086, allocations: 53.58 kB / 443.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.4087, allocations: 19.64 kB / 443.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.4087, allocations: 0 / 443.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.4088, allocations: 30.56 kB / 443.1 MB, free: 35.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.4088, allocations: 4 kB / 443.1 MB, free: 35.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000251/0.409, allocations: 85.41 kB / 443.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.4091, allocations: 53.91 kB / 443.3 MB, free: 35.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.4093, allocations: 226 kB / 443.5 MB, free: 35.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.4093, allocations: 25.7 kB / 443.5 MB, free: 35.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.4094, allocations: 145.9 kB / 443.7 MB, free: 35.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.4095, allocations: 19.08 kB / 443.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.4095, allocations: 2.75 kB / 443.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.4096, allocations: 336.1 kB / 444 MB, free: 34.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.4096, allocations: 12.19 kB / 444 MB, free: 34.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.4097, allocations: 49.03 kB / 444.1 MB, free: 34.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.756e-05/0.4098, allocations: 22.47 kB / 444.1 MB, free: 34.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4098, allocations: 0 / 444.1 MB, free: 34.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001781/0.41, allocations: 111.2 kB / 444.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.41, allocations: 10.44 kB / 444.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.41, allocations: 0 / 444.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.41, allocations: 2.594 kB / 444.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.4103, allocations: 35.03 kB / 444.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.4103, allocations: 2.781 kB / 444.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.467e-05/0.4104, allocations: 17.84 kB / 444.3 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.4104, allocations: 2.562 kB / 444.3 MB, free: 34.85 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = max(0.0, 0.0) start = header.Tstart unit = "K" fixed = true nominal = 300.0 ) "fluid T" type: Real 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 (10): * Single equations (assignments): 10 * 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.0001944/0.4106, allocations: 140.2 kB / 444.4 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.4107, allocations: 13.56 kB / 444.4 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.4107, allocations: 22.53 kB / 444.5 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4107, allocations: 192 / 444.5 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4107, allocations: 0 / 444.5 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4107, allocations: 3.938 kB / 444.5 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.4112, allocations: 416.3 kB / 444.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4112, allocations: 3.938 kB / 444.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.4113, allocations: 8.375 kB / 444.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.4113, allocations: 5.906 kB / 444.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.4114, allocations: 0 / 444.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4114, allocations: 3.281 kB / 444.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4114, allocations: 0 / 444.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.4116, allocations: 213 kB / 445.1 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.4117, allocations: 94.61 kB / 445.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.4117, allocations: 2.688 kB / 445.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.4118, allocations: 0 / 445.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.4118, allocations: 2.375 kB / 445.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.4118, allocations: 3 kB / 445.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.412, allocations: 168.1 kB / 445.4 MB, free: 33.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.412, allocations: 0 / 445.4 MB, free: 33.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.4122, allocations: 37.98 kB / 445.4 MB, free: 33.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (header.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 (4): * Single equations (assignments): 4 * 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 0.0001145/0.4123, allocations: 97.09 kB / 445.5 MB, free: 33.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.4125, allocations: 48.56 kB / 445.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4125, allocations: 0 / 445.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.32e-05/0.4125, allocations: 17.03 kB / 445.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.4129, allocations: 28.61 kB / 445.6 MB, free: 33.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009858/0.4139, allocations: 0.52 MB / 446.1 MB, free: 33.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.4142, allocations: 0.723 MB / 446.8 MB, free: 32.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.4142, allocations: 15.16 kB / 446.8 MB, free: 32.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4142, allocations: 0 / 446.8 MB, free: 32.73 MB / 350.1 MB Notification: Performance of Templates: time 0.00364/0.4179, allocations: 1.893 MB / 448.7 MB, free: 32.6 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_header_001.makefile make -j1 -f AES_AES.Devel_test_models.Test_header_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.Devel_test_models.Test_header_001CalcHelperMain.o OMCppAES_AES.Devel_test_models.Test_header_001CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Devel_test_models.Test_header_001CalcHelperMain.o] Error 1