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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009754/0.0009758, allocations: 100.2 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.001069/0.001069, allocations: 175.8 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.539/1.539, allocations: 223.2 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.2815/0.2815, allocations: 22.36 MB / 314.1 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 8 kB / 382.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3915, allocations: 55.98 MB / 438.6 MB, free: 39.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01): time 0.002977/0.3945, allocations: 2.508 MB / 441.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.3962, allocations: 0.9581 MB / 442 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.3964, allocations: 9.219 kB / 442 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.397, allocations: 93.53 kB / 442.1 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004966/0.3975, allocations: 156.7 kB / 442.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.3979, allocations: 186.8 kB / 442.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006399/0.3986, allocations: 0.5451 MB / 443 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.3989, allocations: 137.1 kB / 443.1 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.3991, allocations: 191.8 kB / 443.3 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.3994, allocations: 216.9 kB / 443.5 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.3995, allocations: 18.38 kB / 443.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.3996, allocations: 49.3 kB / 443.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.3997, allocations: 103.6 kB / 443.7 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.6e-05/0.3998, allocations: 102.4 kB / 443.8 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.4002, allocations: 398.8 kB / 444.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.4002, allocations: 0 / 444.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4003, allocations: 0 / 444.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.4003, allocations: 0 / 444.2 MB, free: 36.04 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00156/0.4018, allocations: 0.7826 MB / 445 MB, free: 35.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4019, allocations: 9.094 kB / 445 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.402, allocations: 55.34 kB / 445 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006727/0.4027, allocations: 444.1 kB / 445.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.4027, allocations: 31.19 kB / 445.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/0.4028, allocations: 43.19 kB / 445.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.4035, allocations: 404.4 kB / 445.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.4035, allocations: 3.938 kB / 446 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.4035, allocations: 19.36 kB / 446 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.4036, allocations: 10.72 kB / 446 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.4041, allocations: 285.9 kB / 446.3 MB, free: 34.8 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.002236/0.4064, allocations: 1.839 MB / 448.1 MB, free: 33.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.4068, allocations: 242.5 kB / 448.3 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.407, allocations: 142.2 kB / 448.5 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.4071, allocations: 4.844 kB / 448.5 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.4071, allocations: 37.41 kB / 448.5 MB, free: 33.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.625e-06/0.4071, allocations: 0 / 448.5 MB, free: 33.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.0007677/0.4079, allocations: 386 kB / 448.9 MB, free: 33.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.4079, allocations: 62.36 kB / 449 MB, free: 33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000622/0.4086, allocations: 486.8 kB / 449.4 MB, free: 32.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.4086, allocations: 33.7 kB / 449.5 MB, free: 32.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.4087, allocations: 260.8 kB / 449.7 MB, free: 32.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.235e-05/0.4088, allocations: 132.7 kB / 449.8 MB, free: 32.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.4088, allocations: 10.5 kB / 449.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.4089, allocations: 363.1 kB / 450.2 MB, free: 32.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.4092, allocations: 114.2 kB / 450.3 MB, free: 32.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.4095, allocations: 244.8 kB / 450.6 MB, free: 31.84 MB / 350.1 MB Notification: The given system is mixed-determined. [index = 2] Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.4111, allocations: 0.599 MB / 451.2 MB, free: 31.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4112, allocations: 2.656 kB / 451.2 MB, free: 31.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007401/0.4119, allocations: 456.4 kB / 451.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4119, allocations: 9.312 kB / 451.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.4119, allocations: 3.188 kB / 451.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.412, allocations: 11.88 kB / 451.6 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/0.4126, allocations: 175.6 kB / 451.8 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.4137, allocations: 1.448 MB / 453.3 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.4141, allocations: 79.12 kB / 453.3 MB, free: 29.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.4141, allocations: 28.31 kB / 453.4 MB, free: 29.95 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.xfb:VARIABLE(fixed = true ) type: Real C1.xfb:VARIABLE(fixed = true ) type: Real Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: C2.u = C2.CSstart D.Fcs1.y = D.Fcs1.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 (C1.HIsat,C1.LOsat,C2.HIsat,C2.LOsat,C2.iNoDec,C2.iNoInc,C2.iTS,C1.iNoDec,C1.iNoInc,C1.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002876/0.4144, allocations: 189 kB / 453.5 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.4145, allocations: 46.31 kB / 453.6 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005671/0.4151, allocations: 362.6 kB / 453.9 MB, free: 29.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.4151, allocations: 6.766 kB / 453.9 MB, free: 29.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.4151, allocations: 3.844 kB / 454 MB, free: 29.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4151, allocations: 0 / 454 MB, free: 29.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006795/0.4158, allocations: 482.1 kB / 454.4 MB, free: 29.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4158, allocations: 0 / 454.4 MB, free: 29.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.4163, allocations: 97.36 kB / 454.5 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4163, allocations: 3.875 kB / 454.5 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.4163, allocations: 8 kB / 454.5 MB, free: 29.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4163, allocations: 3.969 kB / 454.5 MB, free: 29.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4164, allocations: 11.23 kB / 454.5 MB, free: 29.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.4171, allocations: 0.5239 MB / 455.1 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/0.4172, allocations: 136.2 kB / 455.2 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.4172, allocations: 10.53 kB / 455.2 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.4175, allocations: 39.12 kB / 455.2 MB, free: 28.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.4176, allocations: 31.39 kB / 455.3 MB, free: 28.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.4176, allocations: 8.922 kB / 455.3 MB, free: 28.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005024/0.4181, allocations: 349.3 kB / 455.6 MB, free: 28.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4181, allocations: 0 / 455.6 MB, free: 28.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004726/0.4186, allocations: 102.3 kB / 455.7 MB, free: 28.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (Cz1.T,Cz2.T,C1.xfb,C1.xBias,C1.u,C1.csfil,C2.xfb,C2.xBias,C2.u,C2.csfil) * Number of discrete variables: 4 (C1.HIsat,C1.LOsat,C2.HIsat,C2.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.0001906/0.4188, allocations: 122 kB / 455.8 MB, free: 28.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007674/0.4196, allocations: 363.6 kB / 456.2 MB, free: 28.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4196, allocations: 3.25 kB / 456.2 MB, free: 28.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.4198, allocations: 147.6 kB / 456.4 MB, free: 28.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.4203, allocations: 55.08 kB / 456.4 MB, free: 28.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.422, allocations: 1.243 MB / 457.6 MB, free: 27.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.4223, allocations: 0.8547 MB / 458.5 MB, free: 26.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.4225, allocations: 41.41 kB / 458.5 MB, free: 26.87 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4225, allocations: 192 / 458.5 MB, free: 26.87 MB / 350.1 MB Notification: Performance of Templates: time 0.01263/0.4351, allocations: 6.228 MB / 464.8 MB, free: 26.39 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.makefile make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.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_01CalcHelperMain.o OMCppAES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01CalcHelperMain.o] Error 1