Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001156/0.001156, allocations: 191.3 kB / 17.36 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4402/0.4402, allocations: 95.48 MB / 366.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.727e-05, allocations: 2.281 kB / 0.5043 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir): time 0.4269/0.4269, allocations: 144.8 MB / 0.6457 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.4289, allocations: 1.732 MB / 0.6474 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.429, allocations: 4 kB / 0.6474 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004905/0.4295, allocations: 170.9 kB / 0.6475 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.43, allocations: 318.2 kB / 0.6478 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007643/0.4309, allocations: 322 kB / 0.6481 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00075/0.4316, allocations: 0.8641 MB / 0.649 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.4318, allocations: 122.3 kB / 0.6491 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.4323, allocations: 382.6 kB / 0.6495 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.4326, allocations: 231 kB / 0.6497 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.4326, allocations: 32 kB / 0.6497 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.4329, allocations: 115.8 kB / 0.6498 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.0004262/0.4333, allocations: 0.5267 MB / 0.6503 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0001993/0.4335, allocations: 331.6 kB / 0.6507 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.4336, allocations: 63.88 kB / 0.6507 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.49e-05/0.4336, allocations: 7.938 kB / 0.6507 GB, free: 8.75 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 (60) * Number of variables: 60 (60) Notification: Performance of Bindings: time 0.001355/0.435, allocations: 1.527 MB / 0.6522 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.0001138/0.4351, allocations: 81.61 kB / 0.6523 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.0006061/0.4357, allocations: 0.6777 MB / 0.653 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of simplify1: time 4.674e-05/0.4358, allocations: 55.88 kB / 0.653 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of Alias: time 0.001567/0.4374, allocations: 1.497 MB / 0.6545 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of simplify2: time 3.156e-05/0.4374, allocations: 27.98 kB / 0.6545 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of Events: time 0.0001704/0.4376, allocations: 107.5 kB / 0.6546 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of Detect States: time 0.0002039/0.4378, allocations: 149.8 kB / 0.6547 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.000209/0.438, allocations: 233.1 kB / 0.655 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of Causalize: time 0.0008904/0.4389, allocations: 0.9538 MB / 0.6559 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of After Index Reduction Inline: time 0.0003041/0.4392, allocations: 354.4 kB / 0.6562 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of Inline: time 0.000806/0.44, allocations: 0.8644 MB / 0.6571 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of Partitioning: time 5.959e-05/0.4401, allocations: 62.3 kB / 0.6571 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of Cleanup: time 3.519e-05/0.4401, allocations: 31.91 kB / 0.6572 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of Causalize: time 0.001436/0.4416, allocations: 1.579 MB / 0.6587 GB, free: 92 kB / 0.4981 GB Notification: Performance of Tearing: time 0.0002296/0.4418, allocations: 254.1 kB / 0.659 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of Initialization: time 4.31e-07/0.4418, allocations: 0 / 0.659 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of Tearing: time 0.0001581/0.442, allocations: 262.4 kB / 0.6592 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of Categorize: time 1.311e-05/0.442, allocations: 4.031 kB / 0.6592 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of Solve: time 0.0002487/0.4423, allocations: 194 kB / 0.6594 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of Jacobian: time 0.0001916/0.4425, allocations: 301.8 kB / 0.6597 GB, free: 14.96 MB / 0.5137 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * 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: ............................. 2 (2) {volume.m, volume.U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {$SEV_5[$i1], $SEV_4, $SEV_3[$i1], $SEV_2, $SEV_1[$i1], $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 24 (scalar:21, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 51 (scalar:45, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 4.215e-05/0.4425, allocations: 31.75 kB / 0.6597 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of SimCode: time 0.001742/0.4443, allocations: 2.008 MB / 0.6617 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.007384/0.4517, allocations: 4.093 MB / 0.6657 GB, free: 8.809 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.makefile make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.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=Buildings_1_6_Buildings_Media_GasesPTDecoupled_Examples_TestSimpleAir -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 Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.o Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.c Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.c:389:59: error: use of undeclared identifier 'i' tmp20 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.c:392:127: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[15] /* ambient.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.c:395:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.c:403:130: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"GasesPTDecoupled.SimpleAir\"}", (long) i); ^ Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.c:540:59: error: use of undeclared identifier 'i' tmp59 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.c:543:137: error: use of undeclared identifier 'i' tmp63 = modelica_real_to_modelica_string((&data->localData[0]->realVars[11] /* fixedMassFlowRate.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.c:546:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.c:554:130: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"GasesPTDecoupled.SimpleAir\"}", (long) i); ^ Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.c:691:59: error: use of undeclared identifier 'i' tmp98 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.c:694:126: error: use of undeclared identifier 'i' tmp102 = modelica_real_to_modelica_string((&data->localData[0]->realVars[6] /* volume.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.c:697:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.c:705:130: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"GasesPTDecoupled.SimpleAir\"}", (long) i); ^ 12 errors generated. make: *** [: Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.o] Error 1