Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.0007209/0.0007209, allocations: 80.25 kB / 20.06 MB, free: 4.465 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.0007567/0.0007567, allocations: 173.9 kB / 23.36 MB, free: 1.156 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.8219/0.8219, allocations: 177.1 MB / 203.7 MB, free: 5.312 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.6923/0.6923, allocations: 154.6 MB / 414.7 MB, free: 0.7266 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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.265e-05, allocations: 6.25 kB / 0.6195 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.004504/0.004527, allocations: 4.875 MB / 0.6243 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003143/0.007669, allocations: 3.221 MB / 0.6274 GB, free: 4.953 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.007823, allocations: 15.88 kB / 0.6275 GB, free: 4.938 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00094/0.008763, allocations: 0.4938 MB / 0.6279 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.009249, allocations: 405.6 kB / 0.6283 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.009594, allocations: 287.1 kB / 0.6286 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0009747/0.01057, allocations: 1.403 MB / 0.63 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.01095, allocations: 288.6 kB / 0.6302 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005674/0.01151, allocations: 0.6824 MB / 0.6309 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.01187, allocations: 455.1 kB / 0.6313 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.01191, allocations: 44 kB / 0.6314 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.01223, allocations: 319.3 kB / 0.6317 GB, free: 0.5859 MB / 0.5886 GB Notification: Performance of combineBinaries: time 0.0005338/0.01277, allocations: 0.9859 MB / 0.6327 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of replaceArrayConstructors: time 0.0002735/0.01304, allocations: 0.5968 MB / 0.6332 GB, free: 15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.01309, allocations: 32 kB / 0.6333 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.876e-05/0.01311, allocations: 8 kB / 0.6333 GB, free: 14.96 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.002093/0.01521, allocations: 3.28 MB / 0.6365 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004166/0.01562, allocations: 0.4941 MB / 0.637 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of [SIM] Early Inline: time 0.001356/0.01698, allocations: 2.118 MB / 0.639 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of [SIM] Simplify 1: time 0.0002279/0.01721, allocations: 275.9 kB / 0.6393 GB, free: 8.617 MB / 0.6042 GB Notification: Performance of [SIM] Alias: time 0.001186/0.01839, allocations: 1.465 MB / 0.6407 GB, free: 6.996 MB / 0.6042 GB Notification: Performance of [SIM] Simplify 2: time 0.0002109/0.0186, allocations: 264.5 kB / 0.641 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of [SIM] Remove Stream: time 0.0001248/0.01873, allocations: 176.1 kB / 0.6411 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of [SIM] Detect States: time 0.0003964/0.01913, allocations: 0.5772 MB / 0.6417 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of [SIM] Events: time 7.587e-05/0.0192, allocations: 75.88 kB / 0.6418 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of [SIM] Partitioning: time 0.0005685/0.01977, allocations: 0.7897 MB / 0.6425 GB, free: 4.945 MB / 0.6042 GB Notification: Performance of [SIM] Causalize: time 0.003053/0.02282, allocations: 3.809 MB / 0.6463 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008214/0.02364, allocations: 1.523 MB / 0.6478 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of [INI] Simplify: time 0.0006683/0.02431, allocations: 0.7241 MB / 0.6485 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of [INI] Inline: time 0.001483/0.0258, allocations: 2.732 MB / 0.6511 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of [INI] Partitioning: time 4.599e-05/0.02584, allocations: 39.94 kB / 0.6512 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of [INI] Cleanup: time 0.0004278/0.02627, allocations: 0.7415 MB / 0.6519 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of [INI] Causalize: time 0.003829/0.0301, allocations: 4.854 MB / 0.6566 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of [INI] Tearing: time 0.0001924/0.03029, allocations: 272.3 kB / 0.6569 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of [SIM] Initialization: time 9.51e-07/0.03029, allocations: 4 kB / 0.6569 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of [SIM] DAE-Mode: time 0.0003814/0.03067, allocations: 349.9 kB / 0.6572 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of [SIM] Remove Dummies: time 5.189e-06/0.03068, allocations: 0.6562 kB / 0.6572 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of [SIM] Tearing: time 0.0001398/0.03082, allocations: 243.8 kB / 0.6575 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of [SIM] Categorize: time 8.806e-06/0.03083, allocations: 0 / 0.6575 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of [SIM] Solve: time 0.00129/0.03212, allocations: 1.553 MB / 0.659 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of [SIM] Jacobian: time 0.002651/0.03477, allocations: 4.213 MB / 0.6631 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.467e-06/0.03477, allocations: 0 / 0.6631 GB, free: 15.48 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: ........... 70 (scalar:63, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 86 (scalar:78, array:8, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 86 (scalar:78, array:8, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 5.314e-05/0.03483, allocations: 77.22 kB / 0.6632 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of SimCode: time 0.003992/0.03882, allocations: 5.693 MB / 0.6687 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of Templates: time 0.2895/0.3283, allocations: 14.11 MB / 0.6825 GB, free: 77.53 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile [Timeout 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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_ACSimpleGrid -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.o IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.c In file included from IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.c:7: In file included from ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid_model.h:28: ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid_functions.h:14:111: error: unknown type name 'IDEAS_Electrical_Transmission_LowVoltageCables_Generic_array' 14 | void IDEAS_Electrical_Transmission_Grids_TestGrid2Nodes_5_construct_p(threadData_t *threadData, void* v_ths , IDEAS_Electrical_Transmission_LowVoltageCables_Generic_array in_cables); | ^ ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid_functions.h:175:1: error: unknown type name 'IDEAS_Electrical_Transmission_Grids_TestGrid2Nodes' 175 | IDEAS_Electrical_Transmission_Grids_TestGrid2Nodes omc_IDEAS_Electrical_Transmission_Grids_TestGrid2Nodes (threadData_t *threadData, modelica_integer omc_nNodes, modelica_integer omc_nLinks, integer_array omc_fromTo, real_array omc_l, IDEAS_Electrical_Transmission_LowVoltageCables_Generic_array omc_cables); | ^ 2 errors generated. make: *** [: IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.o] Error 1 [Calling os._exit(0), Time elapsed: 2.8027594946324825] Failed to read output from testmodel.py, exit status != 0: 0.3329705120995641 0.33974064299999995 0.32522819999999997 Calling exit ...