Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_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_component_models.HeatPump_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008769/0.0008768, allocations: 99.75 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.001028/0.001029, allocations: 179.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.556/1.556, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2846/0.2846, allocations: 22.36 MB / 314.1 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003324, allocations: 8 kB / 382.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4017, allocations: 55.98 MB / 438.6 MB, free: 39.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.001688/0.4034, allocations: 1.376 MB / 439.9 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000202/0.4036, allocations: 56.3 kB / 440 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.4037, allocations: 2.656 kB / 440 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.4038, allocations: 7.688 kB / 440 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.4039, allocations: 13.62 kB / 440 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.989e-05/0.404, allocations: 13.94 kB / 440 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.945e-05/0.4041, allocations: 74.14 kB / 440.1 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.4042, allocations: 26.19 kB / 440.1 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.4043, allocations: 30.17 kB / 440.2 MB, free: 38.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.4043, allocations: 25.94 kB / 440.2 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.87e-05/0.4044, allocations: 6.781 kB / 440.2 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.656e-05/0.4044, allocations: 2.781 kB / 440.2 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.4044, allocations: 13.91 kB / 440.2 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.4045, allocations: 41.39 kB / 440.2 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.398e-05/0.4045, allocations: 59.62 kB / 440.3 MB, free: 38.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4046, allocations: 0 / 440.3 MB, free: 38.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4046, allocations: 0 / 440.3 MB, free: 38.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.4046, allocations: 0 / 440.3 MB, free: 38.18 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003764/0.405, allocations: 356.3 kB / 440.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.405, allocations: 7.438 kB / 440.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.4051, allocations: 8.75 kB / 440.7 MB, free: 37.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.4052, allocations: 176.8 kB / 440.8 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4052, allocations: 10.72 kB / 440.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.4052, allocations: 14.22 kB / 440.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.4054, allocations: 87.92 kB / 441 MB, free: 37.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4054, allocations: 3.953 kB / 441 MB, free: 37.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.4054, allocations: 4 kB / 441 MB, free: 37.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4054, allocations: 2.812 kB / 441 MB, free: 37.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.633e-05/0.4055, allocations: 46.56 kB / 441 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.4061, allocations: 449.8 kB / 441.4 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.593e-05/0.4062, allocations: 53.23 kB / 441.5 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.4063, allocations: 28.86 kB / 441.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.4063, allocations: 2.969 kB / 441.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.4063, allocations: 34.56 kB / 441.6 MB, free: 37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.4063, allocations: 4 kB / 441.6 MB, free: 37 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001925/0.4065, allocations: 70.5 kB / 441.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.4065, allocations: 58.14 kB / 441.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.104e-05/0.4066, allocations: 110.3 kB / 441.8 MB, free: 36.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.4066, allocations: 25.7 kB / 441.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.4067, allocations: 106 kB / 441.9 MB, free: 36.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.4067, allocations: 29.83 kB / 442 MB, free: 36.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-06/0.4067, allocations: 0 / 442 MB, free: 36.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.4068, allocations: 322.2 kB / 442.3 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.4068, allocations: 18.84 kB / 442.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.669e-05/0.4069, allocations: 30.88 kB / 442.3 MB, free: 36.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/0.4069, allocations: 19.81 kB / 442.3 MB, free: 36.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4069, allocations: 192 / 442.3 MB, free: 36.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001047/0.407, allocations: 74.11 kB / 442.4 MB, free: 36.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4071, allocations: 9.719 kB / 442.4 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4071, allocations: 4.062 kB / 442.4 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4071, allocations: 3 kB / 442.4 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.4072, allocations: 21.94 kB / 442.5 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4072, allocations: 7.891 kB / 442.5 MB, free: 36.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.4073, allocations: 10.89 kB / 442.5 MB, free: 36.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.4073, allocations: 2.875 kB / 442.5 MB, free: 36.18 MB / 350.1 MB 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 (9): * Single equations (assignments): 9 * 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 7.458e-05/0.4074, allocations: 116.1 kB / 442.6 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.4074, allocations: 2.906 kB / 442.6 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.4076, allocations: 94.95 kB / 442.7 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4076, allocations: 0 / 442.7 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4076, allocations: 0 / 442.7 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.4076, allocations: 3.953 kB / 442.7 MB, free: 35.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.4078, allocations: 198.5 kB / 442.9 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4078, allocations: 0 / 442.9 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.4078, allocations: 10.94 kB / 442.9 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4078, allocations: 0 / 442.9 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.4079, allocations: 0 / 442.9 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4079, allocations: 2.719 kB / 442.9 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4079, allocations: 4 kB / 442.9 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.408, allocations: 163.1 kB / 443.1 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.4081, allocations: 81.02 kB / 443.1 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.4081, allocations: 0 / 443.1 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.4081, allocations: 6.812 kB / 443.1 MB, free: 35.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.4082, allocations: 5.703 kB / 443.1 MB, free: 35.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.4082, allocations: 0 / 443.1 MB, free: 35.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.975e-05/0.4082, allocations: 93.84 kB / 443.2 MB, free: 35.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4082, allocations: 0 / 443.2 MB, free: 35.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.4084, allocations: 17.12 kB / 443.3 MB, free: 35.44 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 (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 Backend phase and start with SimCode phase: time 9.871e-05/0.4085, allocations: 95.81 kB / 443.3 MB, free: 35.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.4087, allocations: 48.73 kB / 443.4 MB, free: 35.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4087, allocations: 0 / 443.4 MB, free: 35.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.641e-05/0.4087, allocations: 17.19 kB / 443.4 MB, free: 35.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.409, allocations: 15.47 kB / 443.4 MB, free: 35.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.4094, allocations: 229.8 kB / 443.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.4095, allocations: 0.6942 MB / 444.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.4096, allocations: 14.44 kB / 444.4 MB, free: 34.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4096, allocations: 0 / 444.4 MB, free: 34.41 MB / 350.1 MB Notification: Performance of Templates: time 0.002295/0.4119, allocations: 0.8179 MB / 445.2 MB, free: 34.35 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.makefile make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_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_component_models.HeatPump_case_001CalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_component_models.HeatPump_case_001CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_component_models.HeatPump_case_001CalcHelperMain.o] Error 1