Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor.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/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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(AixLib.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor") translateModel(AixLib.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 108.4 kB / 16.41 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 190.2 kB / 17.35 MB, free: 5.555 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.14/1.14, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05007/0.05007, allocations: 12.03 MB / 303.2 MB, free: 3.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004583/0.0004582, allocations: 31.94 kB / 356.3 MB, free: 13.95 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.637/1.637, allocations: 272.3 MB / 0.6657 GB, free: 18.25 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.551e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.22 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Airflow.Multizone.Examples.OneOpenDoor): time 0.4256/0.4256, allocations: 166.9 MB / 1.056 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01129/0.437, allocations: 8.488 MB / 1.065 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.4383, allocations: 37.81 kB / 1.065 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.4397, allocations: 0.5643 MB / 1.065 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003242/0.4429, allocations: 1.567 MB / 1.067 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.4451, allocations: 1.001 MB / 1.068 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003424/0.4485, allocations: 3.298 MB / 1.071 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.4497, allocations: 1.088 MB / 1.072 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.4521, allocations: 1.315 MB / 1.073 GB, free: 204 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.4533, allocations: 1.073 MB / 1.074 GB, free: 15.6 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.4534, allocations: 114.2 kB / 1.074 GB, free: 15.59 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.4554, allocations: 1.106 MB / 1.076 GB, free: 15.09 MB / 0.7482 GB Notification: Performance of combineBinaries: time 0.001283/0.4567, allocations: 2.123 MB / 1.078 GB, free: 13.64 MB / 0.7482 GB Notification: Performance of replaceArrayConstructors: time 0.0006809/0.4574, allocations: 1.311 MB / 1.079 GB, free: 12.71 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.4576, allocations: 213.1 kB / 1.079 GB, free: 12.61 MB / 0.7482 GB Notification: Performance of FrontEnd: time 0.0002087/0.4578, allocations: 37.28 kB / 1.079 GB, free: 12.6 MB / 0.7482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 (209) * Number of variables: 385 (199) Notification: Performance of Bindings: time 0.004173/0.462, allocations: 5.824 MB / 1.085 GB, free: 8.352 MB / 0.7482 GB Notification: Performance of FunctionAlias: time 0.0005711/0.4626, allocations: 0.5943 MB / 1.085 GB, free: 7.785 MB / 0.7482 GB Notification: Performance of Early Inline: time 0.002623/0.4652, allocations: 3.232 MB / 1.089 GB, free: 4.496 MB / 0.7482 GB Notification: Performance of simplify1: time 0.0001634/0.4654, allocations: 191.8 kB / 1.089 GB, free: 4.309 MB / 0.7482 GB Notification: Performance of Alias: time 0.004189/0.4696, allocations: 4.406 MB / 1.093 GB, free: 15.6 MB / 0.7638 GB Notification: Performance of simplify2: time 0.0001432/0.4697, allocations: 155.8 kB / 1.093 GB, free: 15.45 MB / 0.7638 GB Notification: Performance of Detect States: time 0.0008373/0.4706, allocations: 0.7748 MB / 1.094 GB, free: 14.66 MB / 0.7638 GB Notification: Performance of Events: time 0.0003272/0.4709, allocations: 287.6 kB / 1.094 GB, free: 14.38 MB / 0.7638 GB Notification: Performance of Partitioning: time 0.0009357/0.4718, allocations: 0.9985 MB / 1.095 GB, free: 13.32 MB / 0.7638 GB Notification: Performance of Causalize: time 0.00668/0.4785, allocations: 7.152 MB / 1.102 GB, free: 6.219 MB / 0.7638 GB Notification: Performance of After Index Reduction Inline: time 0.001836/0.4804, allocations: 2.164 MB / 1.104 GB, free: 4.016 MB / 0.7638 GB Notification: Performance of Inline: time 0.004065/0.4845, allocations: 4.409 MB / 1.109 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of Partitioning: time 0.0001853/0.4846, allocations: 175.6 kB / 1.109 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of Cleanup: time 0.0001413/0.4848, allocations: 175.8 kB / 1.109 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of Causalize: time 0.008243/0.493, allocations: 8.937 MB / 1.118 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of Tearing: time 1.724e-05/0.4931, allocations: 0 / 1.118 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of Initialization: time 6.62e-07/0.4931, allocations: 0 / 1.118 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of Tearing: time 1.492e-05/0.4931, allocations: 7.938 kB / 1.118 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of Categorize: time 2.259e-05/0.4931, allocations: 8 kB / 1.118 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of Solve: time 0.001545/0.4947, allocations: 1.517 MB / 1.119 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of Jacobian: time 0.003572/0.4983, allocations: 4.018 MB / 1.123 GB, free: 0.7305 MB / 0.7794 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 6 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 8 (8) {dooOpe.mExcAB, dooOpe.mExcBA, volA.dynBal.U, volA.dynBal.m, volB.dynBal.U, volB.dynBal.m, dooOpeClo.mExcAB, dooOpeClo.mExcBA} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {$SEV_5, $SEV_4[$i1], $SEV_3, $SEV_2, $SEV_1[$i1], $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 141 (scalar:137, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 24 (generic: 24, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 179 (scalar:173, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 28 (generic: 28, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 7.86e-05/0.4984, allocations: 67.02 kB / 1.123 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of SimCode: time 0.008081/0.5064, allocations: 9.367 MB / 1.132 GB, free: 7.223 MB / 0.795 GB Notification: Performance of Templates: time 0.0202/0.5267, allocations: 15.05 MB / 1.147 GB, free: 8.207 MB / 0.8107 GB make -j1 -f AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor.makefile make -j1 -f AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=AixLib_latest_AixLib_Airflow_Multizone_Examples_OneOpenDoor -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor.o AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor.c AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor.c:569:59: error: use of undeclared identifier 'i' tmp20 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor.c:572:132: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[191] /* volB.dynBal.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor.c:575:22: error: use of undeclared identifier 'i' switch(i) ^ AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor.c:583:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor.c:790:59: error: use of undeclared identifier 'i' tmp79 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor.c:793:132: error: use of undeclared identifier 'i' tmp83 = modelica_real_to_modelica_string((&data->localData[0]->realVars[153] /* volA.dynBal.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor.c:796:22: error: use of undeclared identifier 'i' switch(i) ^ AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor.c:804:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ 8 errors generated. make: *** [: AixLib_latest_AixLib.Airflow.Multizone.Examples.OneOpenDoor.o] Error 1