Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000759/0.000759, allocations: 80.25 kB / 20.05 MB, free: 4.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007476/0.0007476, allocations: 178.3 kB / 23.36 MB, free: 1.16 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8408/0.8408, allocations: 177.1 MB / 203.7 MB, free: 5.227 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7117/0.7117, allocations: 154.6 MB / 414.7 MB, free: 0.7383 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.137e-05, allocations: 4.172 kB / 0.6195 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.004246/0.004257, allocations: 4.95 MB / 0.6244 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.007596, allocations: 3.598 MB / 0.6279 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.007743, allocations: 15.88 kB / 0.6279 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009942/0.008737, allocations: 0.5599 MB / 0.6284 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005941/0.009331, allocations: 0.4972 MB / 0.6289 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.009671, allocations: 271.2 kB / 0.6292 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.01068, allocations: 1.461 MB / 0.6306 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.01102, allocations: 288.6 kB / 0.6309 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006254/0.01165, allocations: 0.7916 MB / 0.6317 GB, free: 0.5859 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004199/0.01207, allocations: 475.1 kB / 0.6321 GB, free: 124 kB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/0.01211, allocations: 44 kB / 0.6322 GB, free: 80 kB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.0126, allocations: 383 kB / 0.6325 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of combineBinaries: time 0.0005046/0.01311, allocations: 1.017 MB / 0.6335 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of replaceArrayConstructors: time 0.0002781/0.01339, allocations: 0.6346 MB / 0.6341 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.01343, allocations: 32 kB / 0.6342 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.51e-05/0.01347, allocations: 11.94 kB / 0.6342 GB, free: 14 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 (67) * Number of variables: 83 (55) Notification: Performance of [SIM] Bindings: time 0.002009/0.01547, allocations: 3.603 MB / 0.6377 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004322/0.01591, allocations: 0.518 MB / 0.6382 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of [SIM] Early Inline: time 0.001395/0.0173, allocations: 2.152 MB / 0.6403 GB, free: 7.578 MB / 0.6042 GB Notification: Performance of [SIM] Simplify 1: time 0.0002401/0.01754, allocations: 272 kB / 0.6406 GB, free: 7.285 MB / 0.6042 GB Notification: Performance of [SIM] Alias: time 0.001184/0.01873, allocations: 1.473 MB / 0.642 GB, free: 5.656 MB / 0.6042 GB Notification: Performance of [SIM] Simplify 2: time 0.0001994/0.01893, allocations: 261 kB / 0.6422 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of [SIM] Remove Stream: time 0.0001127/0.01904, allocations: 180 kB / 0.6424 GB, free: 5.172 MB / 0.6042 GB Notification: Performance of [SIM] Detect States: time 0.0004002/0.01944, allocations: 0.5991 MB / 0.643 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of [SIM] Events: time 7.682e-05/0.01952, allocations: 74.56 kB / 0.6431 GB, free: 4.434 MB / 0.6042 GB Notification: Performance of [SIM] Partitioning: time 0.0005579/0.02007, allocations: 0.8011 MB / 0.6439 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of [SIM] Causalize: time 0.003197/0.02327, allocations: 3.86 MB / 0.6476 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008112/0.02408, allocations: 1.542 MB / 0.6491 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of [INI] Simplify: time 0.0007153/0.0248, allocations: 0.7081 MB / 0.6498 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of [INI] Inline: time 0.001635/0.02643, allocations: 2.767 MB / 0.6525 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of [INI] Partitioning: time 5.09e-05/0.02648, allocations: 40 kB / 0.6526 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of [INI] Cleanup: time 0.0005899/0.02707, allocations: 0.7532 MB / 0.6533 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of [INI] Causalize: time 0.004196/0.03127, allocations: 4.935 MB / 0.6581 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of [INI] Tearing: time 0.0002152/0.03148, allocations: 280.2 kB / 0.6584 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of [SIM] Initialization: time 8.21e-07/0.03148, allocations: 0 / 0.6584 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of [SIM] DAE-Mode: time 0.0003417/0.03183, allocations: 323.9 kB / 0.6587 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of [SIM] Remove Dummies: time 6.312e-06/0.03183, allocations: 0.6562 kB / 0.6587 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of [SIM] Tearing: time 0.0001778/0.03201, allocations: 279.7 kB / 0.659 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of [SIM] Categorize: time 1.051e-05/0.03202, allocations: 0 / 0.659 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of [SIM] Solve: time 0.001394/0.03342, allocations: 1.486 MB / 0.6604 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of [SIM] Jacobian: time 0.003063/0.03648, allocations: 4.682 MB / 0.665 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.767e-06/0.03648, allocations: 0 / 0.665 GB, free: 13.58 MB / 0.6355 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 69 (scalar:63, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 85 (scalar:78, array:7, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 85 (scalar:78, array:7, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 4.423e-05/0.03653, allocations: 71.58 kB / 0.6651 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of SimCode: time 0.003968/0.04049, allocations: 6.169 MB / 0.6711 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of Templates: time 0.2617/0.3022, allocations: 15.29 MB / 0.686 GB, free: 77.24 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile [Timeout 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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=IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.o IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.c In file included from IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.c:7: In file included from ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_model.h:28: ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_functions.h:14:117: error: unknown type name 'IDEAS_Electrical_Transmission_MediumVoltageCables_Generic_array' 14 | void IDEAS_Electrical_Transmission_Grids_TestGrid2NodesMedium_5_construct_p(threadData_t *threadData, void* v_ths , IDEAS_Electrical_Transmission_MediumVoltageCables_Generic_array in_cables); | ^ ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_functions.h:187:1: error: unknown type name 'IDEAS_Electrical_Transmission_Grids_TestGrid2NodesMedium' 187 | IDEAS_Electrical_Transmission_Grids_TestGrid2NodesMedium omc_IDEAS_Electrical_Transmission_Grids_TestGrid2NodesMedium (threadData_t *threadData, modelica_integer omc_nNodes, modelica_integer omc_nLinks, integer_array omc_fromTo, real_array omc_l, IDEAS_Electrical_Transmission_MediumVoltageCables_Generic_array omc_cables); | ^ 2 errors generated. make: *** [: IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.o] Error 1 [Calling os._exit(0), Time elapsed: 2.7726806793361902] Failed to read output from testmodel.py, exit status != 0: 0.3068247800692916 0.312377591 0.29769926700000005 Calling exit ...