Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_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.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008064/0.0008065, 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.0009094/0.0009094, allocations: 175.4 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.584/1.584, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2734/0.2734, allocations: 22.34 MB / 314.1 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003376, allocations: 8 kB / 382.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3912, allocations: 55.98 MB / 438.6 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.002158/0.3935, allocations: 1.745 MB / 440.3 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003776/0.3939, allocations: 152.1 kB / 440.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.3939, allocations: 5.344 kB / 440.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.932e-05/0.394, allocations: 14.44 kB / 440.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.3942, allocations: 46.81 kB / 440.5 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.3943, allocations: 36.95 kB / 440.6 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.3946, allocations: 182.4 kB / 440.7 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.3948, allocations: 71.02 kB / 440.8 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.636e-05/0.3949, allocations: 57.89 kB / 440.9 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.3951, allocations: 63.52 kB / 440.9 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.3951, allocations: 8.344 kB / 440.9 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.171e-05/0.3951, allocations: 8.438 kB / 440.9 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.3952, allocations: 21.25 kB / 441 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.985e-05/0.3952, allocations: 59.83 kB / 441 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.3954, allocations: 137.3 kB / 441.1 MB, free: 37.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3954, allocations: 0 / 441.1 MB, free: 37.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3954, allocations: 0 / 441.1 MB, free: 37.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3955, allocations: 4 kB / 441.2 MB, free: 37.43 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005277/0.396, allocations: 431.5 kB / 441.6 MB, free: 37.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.396, allocations: 10.44 kB / 441.6 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.3961, allocations: 17.03 kB / 441.6 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.3962, allocations: 183.5 kB / 441.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.3963, allocations: 15.77 kB / 441.8 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.3963, allocations: 23 kB / 441.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.3966, allocations: 153.4 kB / 442 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3966, allocations: 3.328 kB / 442 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.3966, allocations: 10.36 kB / 442 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3967, allocations: 6.562 kB / 442 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.3969, allocations: 114.4 kB / 442.1 MB, free: 36.66 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007688/0.3977, allocations: 0.8583 MB / 443 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.3979, allocations: 120.6 kB / 443.1 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.398, allocations: 75.78 kB / 443.1 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.398, allocations: 2.406 kB / 443.2 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.398, allocations: 37.31 kB / 443.2 MB, free: 35.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.398, allocations: 0 / 443.2 MB, free: 35.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003305/0.3984, allocations: 169 kB / 443.4 MB, free: 35.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.3984, allocations: 51.41 kB / 443.4 MB, free: 35.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.3985, allocations: 124.3 kB / 443.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.3985, allocations: 33.12 kB / 443.6 MB, free: 35.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.3986, allocations: 124.3 kB / 443.7 MB, free: 35.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.3986, allocations: 59.75 kB / 443.7 MB, free: 35.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.3986, allocations: 4 kB / 443.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.3987, allocations: 321.1 kB / 444.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.3988, allocations: 35.56 kB / 444.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.3989, allocations: 81.03 kB / 444.2 MB, free: 34.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.527e-05/0.399, allocations: 49.03 kB / 444.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.399, allocations: 3.938 kB / 444.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002239/0.3992, allocations: 166.8 kB / 444.4 MB, free: 34.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3992, allocations: 5.094 kB / 444.4 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.3992, allocations: 6.812 kB / 444.4 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3993, allocations: 3.094 kB / 444.4 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.3995, allocations: 43.8 kB / 444.4 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3995, allocations: 0 / 444.4 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.987e-05/0.3996, allocations: 21.5 kB / 444.5 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.3996, allocations: 2.812 kB / 444.5 MB, free: 34.76 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: Cz2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cz1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 22 * 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.0001973/0.3998, allocations: 173.9 kB / 444.6 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.3998, allocations: 9.375 kB / 444.6 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.3999, allocations: 20.36 kB / 444.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3999, allocations: 6.594 kB / 444.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3999, allocations: 0 / 444.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3999, allocations: 4 kB / 444.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.4001, allocations: 253.8 kB / 444.9 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4001, allocations: 0 / 444.9 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.4003, allocations: 38.89 kB / 445 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4003, allocations: 3.938 kB / 445 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4003, allocations: 0 / 445 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4003, allocations: 3.312 kB / 445 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4003, allocations: 0 / 445 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.4006, allocations: 284.6 kB / 445.2 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.4007, allocations: 99.19 kB / 445.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.4007, allocations: 4 kB / 445.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.4008, allocations: 6.828 kB / 445.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.4008, allocations: 13.12 kB / 445.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.4009, allocations: 3.188 kB / 445.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.513e-05/0.4009, allocations: 89.84 kB / 445.5 MB, free: 33.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4009, allocations: 0 / 445.5 MB, free: 33.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.4012, allocations: 45.53 kB / 445.5 MB, free: 33.94 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Cz1.T,Cz2.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 8.301e-05/0.4012, allocations: 112.5 kB / 445.6 MB, free: 33.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.4015, allocations: 110 kB / 445.7 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4015, allocations: 0 / 445.7 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/0.4016, allocations: 59.66 kB / 445.8 MB, free: 33.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.4018, allocations: 13.28 kB / 445.8 MB, free: 33.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007182/0.4025, allocations: 0.5529 MB / 446.3 MB, free: 33.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.4027, allocations: 0.7129 MB / 447.1 MB, free: 32.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.4028, allocations: 18.44 kB / 447.1 MB, free: 32.68 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4028, allocations: 4 kB / 447.1 MB, free: 32.68 MB / 350.1 MB Notification: Performance of Templates: time 0.002791/0.4056, allocations: 1.635 MB / 448.7 MB, free: 32.54 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.makefile make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_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.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoopCalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoopCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoopCalcHelperMain.o] Error 1