Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008167/0.0008167, allocations: 80.25 kB / 20.06 MB, free: 4.457 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.0008796/0.0008796, allocations: 173.9 kB / 23.36 MB, free: 1.152 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.847/0.847, allocations: 177.1 MB / 203.7 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6758/0.6758, allocations: 154.6 MB / 414.7 MB, free: 0.7344 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.846e-05, allocations: 5.406 kB / 0.6196 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.004357/0.004375, allocations: 4.868 MB / 0.6243 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003412/0.007787, allocations: 3.225 MB / 0.6275 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.007999, allocations: 15.88 kB / 0.6275 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009416/0.008941, allocations: 0.4938 MB / 0.628 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006718/0.009613, allocations: 405.7 kB / 0.6284 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.0101, allocations: 279.1 kB / 0.6286 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.01118, allocations: 1.406 MB / 0.63 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004096/0.01159, allocations: 288.6 kB / 0.6303 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007698/0.01236, allocations: 0.6863 MB / 0.631 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.01286, allocations: 463.1 kB / 0.6314 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/0.01291, allocations: 44 kB / 0.6314 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004942/0.01341, allocations: 319.2 kB / 0.6318 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of combineBinaries: time 0.0005692/0.01398, allocations: 0.9783 MB / 0.6327 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of replaceArrayConstructors: time 0.0006042/0.01458, allocations: 0.5964 MB / 0.6333 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.01465, allocations: 36 kB / 0.6333 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.333e-05/0.0147, allocations: 8 kB / 0.6333 GB, free: 14.86 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.002255/0.01695, allocations: 3.274 MB / 0.6365 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of [SIM] FunctionAlias: time 0.0005285/0.01748, allocations: 0.5053 MB / 0.637 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of [SIM] Early Inline: time 0.001498/0.01898, allocations: 2.112 MB / 0.6391 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of [SIM] Simplify 1: time 0.0002947/0.01927, allocations: 271.9 kB / 0.6393 GB, free: 8.531 MB / 0.6042 GB Notification: Performance of [SIM] Alias: time 0.001917/0.02119, allocations: 1.479 MB / 0.6408 GB, free: 6.895 MB / 0.6042 GB Notification: Performance of [SIM] Simplify 2: time 0.0002228/0.02141, allocations: 260.9 kB / 0.641 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of [SIM] Remove Stream: time 0.0001282/0.02154, allocations: 180.1 kB / 0.6412 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of [SIM] Detect States: time 0.0004425/0.02199, allocations: 0.569 MB / 0.6418 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of [SIM] Events: time 9.319e-05/0.02208, allocations: 83.81 kB / 0.6418 GB, free: 5.691 MB / 0.6042 GB Notification: Performance of [SIM] Partitioning: time 0.0005898/0.02267, allocations: 0.7897 MB / 0.6426 GB, free: 4.848 MB / 0.6042 GB Notification: Performance of [SIM] Causalize: time 0.003318/0.02599, allocations: 3.807 MB / 0.6463 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001105/0.02709, allocations: 1.522 MB / 0.6478 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of [INI] Simplify: time 0.000852/0.02794, allocations: 0.7021 MB / 0.6485 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of [INI] Inline: time 0.001556/0.0295, allocations: 2.74 MB / 0.6512 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of [INI] Partitioning: time 4.995e-05/0.02955, allocations: 36 kB / 0.6512 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of [INI] Cleanup: time 0.0004538/0.03, allocations: 0.7531 MB / 0.652 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of [INI] Causalize: time 0.00434/0.03434, allocations: 4.85 MB / 0.6567 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of [INI] Tearing: time 0.0002285/0.03457, allocations: 284.3 kB / 0.657 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of [SIM] Initialization: time 1.864e-06/0.03457, allocations: 0 / 0.657 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of [SIM] DAE-Mode: time 0.0004585/0.03503, allocations: 339.6 kB / 0.6573 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of [SIM] Remove Dummies: time 5.981e-06/0.03504, allocations: 0.6562 kB / 0.6573 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of [SIM] Tearing: time 0.0001727/0.03521, allocations: 247.8 kB / 0.6575 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of [SIM] Categorize: time 1.464e-05/0.03522, allocations: 4 kB / 0.6575 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of [SIM] Solve: time 0.001647/0.03687, allocations: 1.551 MB / 0.659 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of [SIM] Jacobian: time 0.00312/0.03999, allocations: 4.222 MB / 0.6632 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.631e-06/0.04, allocations: 0 / 0.6632 GB, free: 15.39 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 6.166e-05/0.04006, allocations: 54.64 kB / 0.6632 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of SimCode: time 0.004932/0.04499, allocations: 5.704 MB / 0.6688 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of Templates: time 0.3034/0.3484, allocations: 14.1 MB / 0.6826 GB, free: 77.85 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile [Timeout 660] make -j1 -f IDEAS_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_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_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.o IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.c In file included from IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.c:7: In file included from ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid_model.h:28: ./IDEAS_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_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_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.o] Error 1 [Calling os._exit(0), Time elapsed: 2.7744004763662815] Failed to read output from testmodel.py, exit status != 0: 0.3536068620160222 0.36010575899999997 0.34396684799999994 Calling exit ...