Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.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.0007419/0.0007419, 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.0007912/0.0007912, allocations: 173.9 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.8173/0.8173, allocations: 177.2 MB / 203.7 MB, free: 5.688 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.6607/0.6607, allocations: 154.6 MB / 414.7 MB, free: 0.7461 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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.245e-05, allocations: 5.812 kB / 0.6196 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004388/0.004411, allocations: 4.208 MB / 0.6237 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00317/0.007581, allocations: 3.147 MB / 0.6268 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.007811, allocations: 19.88 kB / 0.6268 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009883/0.0088, allocations: 0.49 MB / 0.6273 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0007088/0.009509, allocations: 412.4 kB / 0.6277 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.009973, allocations: 255.2 kB / 0.6279 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.0112, allocations: 1.29 MB / 0.6292 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004007/0.0116, allocations: 296.5 kB / 0.6294 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006061/0.01221, allocations: 0.6239 MB / 0.6301 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003775/0.01259, allocations: 431.2 kB / 0.6305 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.01263, allocations: 36 kB / 0.6305 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000441/0.01307, allocations: 323.1 kB / 0.6308 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of combineBinaries: time 0.0004943/0.01357, allocations: 0.951 MB / 0.6317 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 0.0002865/0.01385, allocations: 0.6003 MB / 0.6323 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.01391, allocations: 32 kB / 0.6324 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.03e-05/0.01396, allocations: 7.938 kB / 0.6324 GB, free: 15.88 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: 81 (66) * Number of variables: 81 (54) Notification: Performance of [SIM] Bindings: time 0.002009/0.01597, allocations: 3.194 MB / 0.6355 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of [SIM] FunctionAlias: time 0.0007061/0.01667, allocations: 488.2 kB / 0.6359 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of [SIM] Early Inline: time 0.001293/0.01797, allocations: 1.983 MB / 0.6379 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of [SIM] Simplify 1: time 0.0002287/0.01819, allocations: 263.9 kB / 0.6381 GB, free: 9.797 MB / 0.6042 GB Notification: Performance of [SIM] Alias: time 0.001254/0.01945, allocations: 1.416 MB / 0.6395 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of [SIM] Simplify 2: time 0.0002011/0.01965, allocations: 237.8 kB / 0.6397 GB, free: 7.969 MB / 0.6042 GB Notification: Performance of [SIM] Remove Stream: time 0.0001152/0.01977, allocations: 176.1 kB / 0.6399 GB, free: 7.77 MB / 0.6042 GB Notification: Performance of [SIM] Detect States: time 0.0004103/0.02018, allocations: 0.5419 MB / 0.6404 GB, free: 7.156 MB / 0.6042 GB Notification: Performance of [SIM] Events: time 8.842e-05/0.02026, allocations: 75.83 kB / 0.6405 GB, free: 7.082 MB / 0.6042 GB Notification: Performance of [SIM] Partitioning: time 0.0005609/0.02082, allocations: 0.7506 MB / 0.6412 GB, free: 6.277 MB / 0.6042 GB Notification: Performance of [SIM] Causalize: time 0.00324/0.02406, allocations: 3.512 MB / 0.6447 GB, free: 2.68 MB / 0.6042 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008229/0.02489, allocations: 1.425 MB / 0.6461 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of [INI] Simplify: time 0.0007594/0.02565, allocations: 0.6551 MB / 0.6467 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of [INI] Inline: time 0.001406/0.02705, allocations: 2.552 MB / 0.6492 GB, free: 14 MB / 0.6198 GB Notification: Performance of [INI] Partitioning: time 4.886e-05/0.0271, allocations: 44 kB / 0.6492 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of [INI] Cleanup: time 0.0006808/0.02778, allocations: 0.6907 MB / 0.6499 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of [INI] Causalize: time 0.003642/0.03143, allocations: 4.47 MB / 0.6543 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of [INI] Tearing: time 0.0001881/0.03161, allocations: 236.2 kB / 0.6545 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of [SIM] Initialization: time 2.374e-06/0.03162, allocations: 4 kB / 0.6545 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of [SIM] DAE-Mode: time 0.0004048/0.03202, allocations: 307.8 kB / 0.6548 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of [SIM] Remove Dummies: time 5.33e-06/0.03203, allocations: 0.6562 kB / 0.6548 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of [SIM] Tearing: time 0.000162/0.03219, allocations: 219.8 kB / 0.655 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of [SIM] Categorize: time 1.586e-05/0.0322, allocations: 11.94 kB / 0.655 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of [SIM] Solve: time 0.001442/0.03365, allocations: 1.371 MB / 0.6564 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of [SIM] Jacobian: time 0.00296/0.03661, allocations: 3.956 MB / 0.6602 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.721e-06/0.03661, allocations: 4 kB / 0.6602 GB, free: 2.457 MB / 0.6198 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: ........... 82 (scalar:75, 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: ........... 82 (scalar:75, 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 5.801e-05/0.03667, allocations: 51.09 kB / 0.6603 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of SimCode: time 0.00493/0.0416, allocations: 5.615 MB / 0.6658 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.2707/0.3123, allocations: 13.48 MB / 0.6789 GB, free: 80.85 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile [Timeout 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.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_OnePhase_Lines_Examples_ACSimpleGrid -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_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.o IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.c In file included from IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.c:7: In file included from ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid_model.h:28: ./IDEAS_IDEAS.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Lines.Examples.ACSimpleGrid.o] Error 1 [Calling os._exit(0), Time elapsed: 2.6747585395351052] Failed to read output from testmodel.py, exit status != 0: 0.3171289227902889 0.32313826100000004 0.307820755 Calling exit ...