Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_002.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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") translateModel(AES.Devel_test_models.Test_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009813/0.0009815, allocations: 102.6 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.001083/0.001083, allocations: 174.6 kB / 16.58 MB, free: 6.004 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.524/1.524, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2872/0.2872, allocations: 22.36 MB / 314.1 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 8 kB / 382.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.373, allocations: 55.98 MB / 438.6 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002326/0.3754, allocations: 1.715 MB / 440.3 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003393/0.3758, allocations: 169.6 kB / 440.4 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/0.3759, allocations: 2.656 kB / 440.4 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.91e-05/0.3759, allocations: 16.81 kB / 440.5 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.3761, allocations: 57.67 kB / 440.5 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.3762, allocations: 23.09 kB / 440.5 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.3764, allocations: 164.5 kB / 440.7 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.3765, allocations: 65.14 kB / 440.8 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.627e-05/0.3766, allocations: 55.73 kB / 440.8 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3767, allocations: 65.64 kB / 440.9 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.3768, allocations: 11.44 kB / 440.9 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.187e-05/0.3768, allocations: 5.25 kB / 440.9 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.3768, allocations: 24.73 kB / 440.9 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.3769, allocations: 52.67 kB / 441 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.377, allocations: 109.3 kB / 441.1 MB, free: 37.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.377, allocations: 3.938 kB / 441.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.377, allocations: 0 / 441.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.377, allocations: 0 / 441.1 MB, free: 37.46 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004125/0.3774, allocations: 427.5 kB / 441.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.3775, allocations: 10.94 kB / 441.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.3775, allocations: 15.59 kB / 441.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.3777, allocations: 210 kB / 441.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3777, allocations: 12.75 kB / 441.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3777, allocations: 9.5 kB / 441.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.3779, allocations: 123.4 kB / 441.9 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.378, allocations: 3.938 kB / 441.9 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.378, allocations: 0 / 441.9 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.378, allocations: 9.375 kB / 441.9 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3781, allocations: 63.5 kB / 441.9 MB, free: 36.7 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) * Candidate: P.port.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.0008043/0.3789, allocations: 0.782 MB / 442.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.3791, allocations: 45.77 kB / 442.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.3791, allocations: 16.67 kB / 442.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.3791, allocations: 0 / 442.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.3791, allocations: 48.36 kB / 442.8 MB, free: 35.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.3792, allocations: 0 / 442.8 MB, free: 35.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001993/0.3794, allocations: 74.64 kB / 442.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.3794, allocations: 58.05 kB / 443 MB, free: 35.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.3795, allocations: 188.7 kB / 443.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.3796, allocations: 25.7 kB / 443.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.3796, allocations: 127 kB / 443.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.3797, allocations: 14.59 kB / 443.3 MB, free: 35.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.3797, allocations: 0 / 443.3 MB, free: 35.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.724e-05/0.3797, allocations: 325.1 kB / 443.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-05/0.3798, allocations: 18.55 kB / 443.6 MB, free: 35.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.3798, allocations: 29.39 kB / 443.7 MB, free: 35.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.813e-05/0.3799, allocations: 15.91 kB / 443.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3799, allocations: 0 / 443.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001208/0.38, allocations: 79.59 kB / 443.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.38, allocations: 12.23 kB / 443.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.38, allocations: 3.938 kB / 443.8 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.3801, allocations: 6.938 kB / 443.8 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/0.3801, allocations: 15.12 kB / 443.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3802, allocations: 3.281 kB / 443.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.468e-05/0.3802, allocations: 10.38 kB / 443.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.3803, allocations: 3.406 kB / 443.8 MB, free: 35.02 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = max(0.0, 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: 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 (7): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.3804, allocations: 130.8 kB / 443.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.3804, allocations: 17.59 kB / 444 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.3805, allocations: 21.73 kB / 444 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3805, allocations: 0 / 444 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.3805, allocations: 0 / 444 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3805, allocations: 0 / 444 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.3807, allocations: 208.3 kB / 444.2 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3807, allocations: 2.844 kB / 444.2 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.422e-05/0.3808, allocations: 9.219 kB / 444.2 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3808, allocations: 3.938 kB / 444.2 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.3808, allocations: 0 / 444.2 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3808, allocations: 11.02 kB / 444.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3808, allocations: 7.938 kB / 444.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.381, allocations: 174.1 kB / 444.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.381, allocations: 94.97 kB / 444.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.3811, allocations: 0 / 444.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.3812, allocations: 0 / 444.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.3812, allocations: 7.922 kB / 444.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.3812, allocations: 0 / 444.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.13e-05/0.3813, allocations: 152.5 kB / 444.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3813, allocations: 0 / 444.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.3815, allocations: 25.62 kB / 444.7 MB, free: 34.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 9.336e-05/0.3816, allocations: 98.59 kB / 444.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.3818, allocations: 41.05 kB / 444.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3818, allocations: 0 / 444.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.292e-05/0.3818, allocations: 12.19 kB / 444.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.3821, allocations: 29.58 kB / 444.8 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.3827, allocations: 444.8 kB / 445.3 MB, free: 33.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.3829, allocations: 0.7081 MB / 446 MB, free: 33.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.383, allocations: 15.09 kB / 446 MB, free: 33.14 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.383, allocations: 3.938 kB / 446 MB, free: 33.14 MB / 350.1 MB Notification: Performance of Templates: time 0.003735/0.3867, allocations: 1.63 MB / 447.6 MB, free: 33.02 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_header_002.makefile make -j1 -f AES_AES.Devel_test_models.Test_header_002.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_002CalcHelperMain.o OMCppAES_AES.Devel_test_models.Test_header_002CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Devel_test_models.Test_header_002CalcHelperMain.o] Error 1